| Index: pkg/analyzer/test/generated/resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
|
| index 60b00050e6149a4ad07fecf83297e59cc3dadfb2..a67ddee253605ff93f42286ea42848c437488010 100644
|
| --- a/pkg/analyzer/test/generated/resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/resolver_test.dart
|
| @@ -3091,6 +3091,9 @@ main() {
|
| }
|
|
|
| void test_isDouble() {
|
| + AnalysisOptionsImpl options = new AnalysisOptionsImpl();
|
| + options.dart2jsHint = true;
|
| + resetWithOptions(options);
|
| Source source = addSource("var v = 1 is double;");
|
| computeLibrarySourceErrors(source);
|
| assertErrors(source, [HintCode.IS_DOUBLE]);
|
| @@ -3098,6 +3101,9 @@ main() {
|
| }
|
|
|
| void test_isNotDouble() {
|
| + AnalysisOptionsImpl options = new AnalysisOptionsImpl();
|
| + options.dart2jsHint = true;
|
| + resetWithOptions(options);
|
| Source source = addSource("var v = 1 is! double;");
|
| computeLibrarySourceErrors(source);
|
| assertErrors(source, [HintCode.IS_NOT_DOUBLE]);
|
|
|