diff --git a/spec-dtslint/operators/retryWhen-spec.ts b/spec-dtslint/operators/retryWhen-spec.ts index 3e02efb309..14cef47877 100644 --- a/spec-dtslint/operators/retryWhen-spec.ts +++ b/spec-dtslint/operators/retryWhen-spec.ts @@ -16,3 +16,7 @@ it('should enforce types', () => { it('should enforce types of the notifier', () => { const o = of(1, 2, 3).pipe(retryWhen(() => 8)); // $ExpectError }); + +it('should be deprecated', () => { + const o = of(1, 2, 3).pipe(retryWhen(() => of(true))); // $ExpectDeprecation +}); \ No newline at end of file