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

Unified Diff: tests/language/number_identifier_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/number_identifier_test.dart
diff --git a/tests/language/number_identifier_test.dart b/tests/language/number_identifier_test.dart
index ab5ac206717d9a352e8283b967ddc2760eba8dce..b4178c09d78ae95827d2528a9eb7d32f10403823 100644
--- a/tests/language/number_identifier_test.dart
+++ b/tests/language/number_identifier_test.dart
@@ -13,8 +13,8 @@ main() {
Expect.isTrue(0x10is int);
Expect.isTrue(-0x10is int);
// "a" will be part of hex literal, the following "s" is an error.
- 0x10as int; /// 01: compile-time error
- 0x; /// 04: compile-time error
+ 0x10as int; // /// 01: compile-time error
+ 0x; // /// 04: compile-time error
// Double literals.
Expect.isTrue(2.0is double);
@@ -29,16 +29,16 @@ main() {
Expect.equals(1e-2, 1e-2as double);
Expect.isTrue(1e+2is double);
Expect.equals(1e+2, 1e+2as double);
- Expect.throws(() => 1.e+2, /// 05: ok
- (e) => e is NoSuchMethodError); /// 05: continued
- 1d; /// 06: compile-time error
- 1D; /// 07: compile-time error
- Expect.throws(() => 1.d+2, /// 08: ok
- (e) => e is NoSuchMethodError); /// 08: continued
- Expect.throws(() => 1.D+2, /// 09: ok
- (e) => e is NoSuchMethodError); /// 09: continued
- 1.1d; /// 10: compile-time error
- 1.1D; /// 11: compile-time error
- 1e; /// 02: compile-time error
- 1x; /// 03: compile-time error
+ Expect.throws(() => 1.e+2, // /// 05: ok
+ (e) => e is NoSuchMethodError); // /// 05: continued
+ 1d; // /// 06: compile-time error
+ 1D; // /// 07: compile-time error
+ Expect.throws(() => 1.d+2, // /// 08: ok
+ (e) => e is NoSuchMethodError); // /// 08: continued
+ Expect.throws(() => 1.D+2, // /// 09: ok
+ (e) => e is NoSuchMethodError); // /// 09: continued
+ 1.1d; // /// 10: compile-time error
+ 1.1D; // /// 11: compile-time error
+ 1e; // /// 02: compile-time error
+ 1x; // /// 03: compile-time error
}

Powered by Google App Engine
This is Rietveld 408576698