Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: pkg/analyzer/test/src/task/dart_test.dart

Issue 2402883002: More test clean-up (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/test/src/dart/sdk/sdk_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/dart_test.dart
diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart
index 7489800ea2f24da4aa80766bd84586bea490f854..b9745636cafd1915bcc579ee42aeff565cec5c57 100644
--- a/pkg/analyzer/test/src/task/dart_test.dart
+++ b/pkg/analyzer/test/src/task/dart_test.dart
@@ -927,10 +927,13 @@ part 'part.dart';
}
test_perform_invalidUri_part() {
+ String invalidUri = resourceProvider.pathContext.separator == '/'
+ ? '//////////'
+ : '\\\\\\\\\\\\';
_performBuildTask({
'/lib.dart': '''
library lib;
-part '//////////';
+part '$invalidUri';
'''
});
expect(libraryElement.parts, isEmpty);
« no previous file with comments | « pkg/analyzer/test/src/dart/sdk/sdk_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698