hunk.code_window:       return this;
       }
       const newMap = this._map.__ensureOwner(ownerID);
       if (!ownerID) {
         if (this.size === 0) {
           return emptySet();
         }
         this.__ownerID = ownerID;
         this._map = newMap;
         return this;
       }
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:         return this.__empty();
  
hunk.file_path: src/Set.js
hunk.type: replace
file: /**
   * Copyright (c) 2014-present, Facebook, Inc.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  ///<reference path='../resources/jest.d.ts'/>
  
  import { Repeat } from '../';
  
  describe('Repeat', () => {
  
    it('fixed repeat', () => {
      let v = Repeat('wtf', 3);
      expect(v.size).toBe(3);
      expect(v.first()).toBe('wtf');
      expect(v.rest().toArray()).toEqual(['wtf', 'wtf']);
      expect(v.last()).toBe('wtf');
      expect(v.butLast().toArray()).toEqual(['wtf', 'wtf']);
      expect(v.toArray()).toEqual(['wtf', 'wtf', 'wtf']);
      expect(v.join()).toEqual('wtf,wtf,wtf');
    });
  
  });
  