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

Unified Diff: tests/lib_strong/html/js_typed_interop_default_arg_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 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
Index: tests/lib_strong/html/js_typed_interop_default_arg_test.dart
diff --git a/tests/lib_strong/html/js_typed_interop_default_arg_test.dart b/tests/lib_strong/html/js_typed_interop_default_arg_test.dart
index 466df2c2d4efd9865df66566327fa10450735938..3a9a2c2482ca2d5861e7fc8bfe2cd5e86b526f99 100644
--- a/tests/lib_strong/html/js_typed_interop_default_arg_test.dart
+++ b/tests/lib_strong/html/js_typed_interop_default_arg_test.dart
@@ -25,7 +25,7 @@ _injectJs() {
class Foo {
// Note: it's invalid to provide a default value.
external static num get42([num b
- = 3 // /// default_value: compile-time error
+ = 3 // //# default_value: compile-time error
]);
external static num get43([num b]);
}
@@ -40,14 +40,14 @@ main() {
test('call tearoff from dart with arg', () {
var f = Foo.get42;
- expect(f(2), 2); /// explicit_argument: ok
+ expect(f(2), 2); //# explicit_argument: ok
});
test('call tearoff from dart with default', () {
var f = Foo.get42;
// Note: today both SSA and CPS remove the extra argument on static calls,
// but they fail to do so on tearoffs.
- expect(f(), 3); /// default_value: continued
+ expect(f(), 3); //# default_value: continued
f = Foo.get43;
expect(f(), 43);
« no previous file with comments | « tests/lib_strong/html/custom/element_upgrade_test.dart ('k') | tests/lib_strong/mirrors/abstract_class_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698