Index: pkg/analyzer/test/generated/gn_test.dart |
diff --git a/pkg/analyzer/test/generated/gn_test.dart b/pkg/analyzer/test/generated/gn_test.dart |
index 34084f295cb0f1199dbfa8ef4ed7c4fb95314642..8bae172c93ce49b09d7bd0ddd76fff458f7900be 100644 |
--- a/pkg/analyzer/test/generated/gn_test.dart |
+++ b/pkg/analyzer/test/generated/gn_test.dart |
@@ -17,36 +17,36 @@ main() { |
@reflectiveTest |
class GnWorkspaceTest extends _BaseTest { |
- void test_find_notAbsolute() { |
- expect(() => GnWorkspace.find(provider, _p('not_absolute')), |
- throwsArgumentError); |
- } |
- |
- void test_find_noJiriRoot() { |
- provider.newFolder(_p('/workspace')); |
- GnWorkspace workspace = GnWorkspace.find(provider, _p('/workspace')); |
- expect(workspace, isNull); |
- } |
- |
- void test_find_withRoot() { |
+ void test_find_inHost() { |
provider.newFolder(_p('/workspace/.jiri_root')); |
provider.newFolder(_p('/workspace/some/code')); |
provider.newFile(_p('/workspace/some/code/pubspec.yaml'), ''); |
provider.newFile( |
- _p('/workspace/out/debug-x87_128/gen/some/code/foo.packages'), ''); |
+ _p('/workspace/out/debug-x87_128/host_y32/gen/some/code/foo.packages'), |
+ ''); |
GnWorkspace workspace = |
GnWorkspace.find(provider, _p('/workspace/some/code')); |
expect(workspace, isNotNull); |
expect(workspace.root, _p('/workspace/some/code')); |
} |
- void test_find_inHost() { |
+ void test_find_noJiriRoot() { |
+ provider.newFolder(_p('/workspace')); |
+ GnWorkspace workspace = GnWorkspace.find(provider, _p('/workspace')); |
+ expect(workspace, isNull); |
+ } |
+ |
+ void test_find_notAbsolute() { |
+ expect(() => GnWorkspace.find(provider, _p('not_absolute')), |
+ throwsArgumentError); |
+ } |
+ |
+ void test_find_withRoot() { |
provider.newFolder(_p('/workspace/.jiri_root')); |
provider.newFolder(_p('/workspace/some/code')); |
provider.newFile(_p('/workspace/some/code/pubspec.yaml'), ''); |
provider.newFile( |
- _p('/workspace/out/debug-x87_128/host_y32/gen/some/code/foo.packages'), |
- ''); |
+ _p('/workspace/out/debug-x87_128/gen/some/code/foo.packages'), ''); |
GnWorkspace workspace = |
GnWorkspace.find(provider, _p('/workspace/some/code')); |
expect(workspace, isNotNull); |