Index: pkg/analyzer/test/file_system/resource_uri_resolver_test.dart |
diff --git a/pkg/analyzer/test/file_system/resource_uri_resolver_test.dart b/pkg/analyzer/test/file_system/resource_uri_resolver_test.dart |
index 6ca5bbe2614f80aa7f66a8031609fc2cdb0c1f7b..92e114806f9576bc612a66757af6046e7544a350 100644 |
--- a/pkg/analyzer/test/file_system/resource_uri_resolver_test.dart |
+++ b/pkg/analyzer/test/file_system/resource_uri_resolver_test.dart |
@@ -7,14 +7,14 @@ library analyzer.test.file_system.resource_uri_resolver_test; |
import 'package:analyzer/file_system/file_system.dart'; |
import 'package:analyzer/file_system/memory_file_system.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
+import 'package:test_reflective_loader/test_reflective_loader.dart'; |
import 'package:unittest/unittest.dart'; |
-import '../reflective_tests.dart'; |
import '../utils.dart'; |
main() { |
initializeTestEnvironment(); |
- runReflectiveTests(ResourceUriResolverTest); |
+ defineReflectiveTests(ResourceUriResolverTest); |
} |
@reflectiveTest |
@@ -48,14 +48,14 @@ class ResourceUriResolverTest { |
expect(source, isNull); |
} |
- void test_resolveAbsolute_notFile_httpsUri() { |
- var uri = new Uri(scheme: 'https', path: '127.0.0.1/test.dart'); |
+ void test_resolveAbsolute_notFile_dartUri() { |
+ var uri = new Uri(scheme: 'dart', path: 'core'); |
Source source = resolver.resolveAbsolute(uri); |
expect(source, isNull); |
} |
- void test_resolveAbsolute_notFile_dartUri() { |
- var uri = new Uri(scheme: 'dart', path: 'core'); |
+ void test_resolveAbsolute_notFile_httpsUri() { |
+ var uri = new Uri(scheme: 'https', path: '127.0.0.1/test.dart'); |
Source source = resolver.resolveAbsolute(uri); |
expect(source, isNull); |
} |