hunk.code_window:     expectObservable(result).toBe(expected);
       expectSubscriptions(e1.subscriptions).toBe(e1subs);
       expectSubscriptions(e2.subscriptions).toBe(e2subs);
     });
     it('should simply mirror the source if values are not emitted often enough', () =>  {
       const e1 =   hot('-a--------b-----c----|');
       const e1subs =   '^                    !';
       const e2 =  cold( '----x                ');
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:   it('should handle sync source with sync notifier and trailing appropriately', () => {
       let results: any[] = [];
       const source = of(1).pipe(
         throttle(() => of(1), { leading: false, trailing: true })
       );
       source.subscribe({
         next: value => results.push(value),
         complete: () => results.push('done')
       });
       expect(results).to.deep.equal([1, 'done'])
     });
  
hunk.file_path: spec/operators/throttle-spec.ts
hunk.type: add
file: const matcher = require('./inline-hash');
  
  describe('inline-hash region-matcher', () => {
    it('should match start annotations', () => {
      let matches;
  
      matches = matcher.regionStartMatcher.exec('# #docregion A b c');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('A b c');
  
      matches = matcher.regionStartMatcher.exec('##docregion A b c');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('A b c');
  
      matches = matcher.regionStartMatcher.exec('# #docregion');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('');
    });
  
    it('should match end annotations', () => {
      let matches;
  
      matches = matcher.regionEndMatcher.exec('# #enddocregion A b c');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('A b c');
  
      matches = matcher.regionEndMatcher.exec('##enddocregion A b c');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('A b c');
  
      matches = matcher.regionEndMatcher.exec('# #enddocregion');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('');
    });
  
    it('should match plaster annotations', () => {
      let matches;
  
      matches = matcher.plasterMatcher.exec('# #docplaster A b c');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('A b c');
  
      matches = matcher.plasterMatcher.exec('##docplaster A b c');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('A b c');
  
      matches = matcher.plasterMatcher.exec('# #docplaster');
      expect(matches).not.toBeNull();
      expect(matches[1]).toEqual('');
    });
  
    it('should create a plaster comment',
      () => { expect(matcher.createPlasterComment('... elided ...')).toEqual('# ... elided ...'); });
  });