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

Unified Diff: tests/language_strong/is_malformed_type_test.dart

Issue 2763823002: Move spaces from before comments to within comments (Closed)
Patch Set: Fix comments 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/language_strong/is_malformed_type_test.dart
diff --git a/tests/language_strong/is_malformed_type_test.dart b/tests/language_strong/is_malformed_type_test.dart
index 539dd1f0c41fa3078129e3a33f8287aea2147216..99c8efa1adc4f39cba4a0c8703848c56c3aca8f1 100644
--- a/tests/language_strong/is_malformed_type_test.dart
+++ b/tests/language_strong/is_malformed_type_test.dart
@@ -12,7 +12,7 @@ test99(e) {
// Test that a runtime error is thrown when the 'is' operator checks for a
// malformed type.
try {
- if (e is Undefined) Expect.fail("unreachable"); /// 99: continued
+ if (e is Undefined) Expect.fail("unreachable"); // /// 99: continued
Expect.fail("unreachable");
} catch(exc) {
Expect.isTrue(exc is TypeError);
@@ -23,7 +23,7 @@ test98(e) {
// Test that a runtime error is thrown when the 'as' operator checks for a
// malformed type.
try {
- if (e as Undefined) Expect.fail("unreachable"); /// 98: continued
+ if (e as Undefined) Expect.fail("unreachable"); // /// 98: continued
Expect.fail("unreachable");
} catch(exc) {
Expect.isTrue(exc is TypeError);
@@ -36,7 +36,7 @@ test97(e) {
// with malformed type is parsed, but not executed at runtime.
// Regression test for issue 16985.
evalCount = 0;
- if (e is Undefined && testEval(e)) Expect.fail("unreachable"); /// 97: continued
+ if (e is Undefined && testEval(e)) Expect.fail("unreachable"); // /// 97: continued
Expect.fail("unreachable");
} catch(exc) {
Expect.isTrue(exc is TypeError);
@@ -50,7 +50,7 @@ test96(e) {
// with malformed type is parsed, but not executed at runtime.
// Regression test for issue 16985.
evalCount = 0;
- if (e as Undefined && testEval(e)) Expect.fail("unreachable"); /// 96: continued
+ if (e as Undefined && testEval(e)) Expect.fail("unreachable"); // /// 96: continued
Expect.fail("unreachable");
} catch(exc) {
Expect.isTrue(exc is TypeError);
@@ -63,7 +63,7 @@ test95(e) {
// runtime error is thrown.
try {
evalCount = 0;
- if (testEval(e) is Undefined) Expect.fail("unreachable"); /// 95: continued
+ if (testEval(e) is Undefined) Expect.fail("unreachable"); // /// 95: continued
Expect.fail("unreachable");
} catch(exc) {
Expect.isTrue(exc is TypeError);
@@ -76,7 +76,7 @@ test94(e) {
// runtime error is thrown.
try {
evalCount = 0;
- if (testEval(e) as Undefined) Expect.fail("unreachable"); /// 94: continued
+ if (testEval(e) as Undefined) Expect.fail("unreachable"); // /// 94: continued
Expect.fail("unreachable");
} catch(exc) {
Expect.isTrue(exc is TypeError);

Powered by Google App Engine
This is Rietveld 408576698