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

Unified Diff: pkg/csslib/test/selector_test.dart

Issue 304603003: Make source map location information more readable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/csslib/test/error_test.dart ('k') | pkg/csslib/test/var_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/csslib/test/selector_test.dart
diff --git a/pkg/csslib/test/selector_test.dart b/pkg/csslib/test/selector_test.dart
index f87136eead888a09ad6613adfb4e740f8b2a11c3..3f764e70a85a7e13dd643c3da87909f0b4e5bd07 100644
--- a/pkg/csslib/test/selector_test.dart
+++ b/pkg/csslib/test/selector_test.dart
@@ -54,10 +54,11 @@ void testSelectorFailures() {
// Test for invalid class name (can't start with number).
var selectorAst = selector('.foobar .1a-story .xyzzy', errors: errors);
expect(errors.isEmpty, false);
- expect(errors[0].toString(), r'''
-error :1:9: name must start with a alpha character, but found a number
-.foobar .1a-story .xyzzy
- ^^''');
+ expect(errors[0].toString(),
+ 'error on line 1, column 9: name must start with a alpha character, but '
+ 'found a number\n'
+ '.foobar .1a-story .xyzzy\n'
+ ' ^^');
}
main() {
« no previous file with comments | « pkg/csslib/test/error_test.dart ('k') | pkg/csslib/test/var_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698