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

Unified Diff: test/string_scanner_test.dart

Issue 1045533002: pkg/string_scanner: code format, expanded dependency constraint on unittest (Closed) Base URL: https://github.com/dart-lang/string_scanner.git@master
Patch Set: Created 5 years, 9 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 | « test/error_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/string_scanner_test.dart
diff --git a/test/string_scanner_test.dart b/test/string_scanner_test.dart
index fcd904aba17d6f652e4ba9610b26d90102ef9b4d..7b00796ce7931c3c2f672097b4119c2c4454ac20 100644
--- a/test/string_scanner_test.dart
+++ b/test/string_scanner_test.dart
@@ -330,8 +330,8 @@ void main() {
});
test('throws an ArgumentError if the position is beyond the string', () {
- expect(() => new StringScanner('foo bar', position: 8),
- throwsArgumentError);
+ expect(
+ () => new StringScanner('foo bar', position: 8), throwsArgumentError);
});
});
}
« no previous file with comments | « test/error_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698