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

Unified Diff: tests/compiler/dart2js_native/js_const_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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: tests/compiler/dart2js_native/js_const_test.dart
diff --git a/tests/compiler/dart2js_native/js_const_test.dart b/tests/compiler/dart2js_native/js_const_test.dart
index 710323a740f08a4afab2871f9af53fea3d5245ad..d777e1e5aa3b81c1c9197946dfff6bb00e6ea48f 100644
--- a/tests/compiler/dart2js_native/js_const_test.dart
+++ b/tests/compiler/dart2js_native/js_const_test.dart
@@ -8,8 +8,8 @@ import 'dart:_foreign_helper' show JS, JS_CONST;
test1() {
var re = const JS_CONST(r'/-([\da-z])/ig');
- var fToUpper = const JS_CONST(
- r'function(_, letter){return letter.toUpperCase()}');
+ var fToUpper =
+ const JS_CONST(r'function(_, letter){return letter.toUpperCase()}');
var s1 = '-hello-world';
var s2 = JS('String', r'#.replace(#, #)', s1, re, fToUpper);
Expect.equals('HelloWorld', s2);
« no previous file with comments | « tests/compiler/dart2js_native/issue9182_test.dart ('k') | tests/compiler/dart2js_native/js_constant_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698