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

Unified Diff: pkg/js_ast/test/printer_callback_test.dart

Issue 1287973002: Check for one-to-many source mappings. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
Index: pkg/js_ast/test/printer_callback_test.dart
diff --git a/pkg/js_ast/test/printer_callback_test.dart b/pkg/js_ast/test/printer_callback_test.dart
index dbd248b744e480bed719cdfb002c4dff304314a1..7e141104b324e1c524efa6079d3476dc65d1389e 100644
--- a/pkg/js_ast/test/printer_callback_test.dart
+++ b/pkg/js_ast/test/printer_callback_test.dart
@@ -161,11 +161,11 @@ function() {
}),
const TestCase(const {
- TestMode.INPUT: "a.#nameTemplate",
- TestMode.NONE: "a.nameValue",
- TestMode.ENTER: "@0@1a.@2nameValue",
- TestMode.DELIMITER: "a.nameValue",
- TestMode.EXIT: "a@1.nameValue@2@0",
+ TestMode.INPUT: "a.#nameTemplate = #nameTemplate",
+ TestMode.NONE: "a.nameValue = nameValue",
+ TestMode.ENTER: "@0@1@2a.@3nameValue = @3nameValue",
+ TestMode.DELIMITER: "a.nameValue = nameValue",
+ TestMode.EXIT: "a@2.nameValue@3@1 = nameValue@3@0",
}, const {'nameTemplate': 'nameValue'}),
];
« no previous file with comments | « pkg/compiler/lib/src/io/position_information.dart ('k') | tests/compiler/dart2js/sourcemaps/source_mapping_test_viewer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698