| Index: tests/language/number_identifier_test.dart
|
| ===================================================================
|
| --- tests/language/number_identifier_test.dart (revision 27197)
|
| +++ tests/language/number_identifier_test.dart (working copy)
|
| @@ -14,7 +14,7 @@
|
| 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
|
| + 0x; /// 04: compile-time error
|
|
|
| // Double literals.
|
| Expect.isTrue(2.0is double);
|
| @@ -29,9 +29,8 @@
|
| 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
|
| - e.memberName == const Symbol("e")); /// 05: continued
|
| + Expect.throws(() => 1.e+2, /// 05: ok
|
| + (e) => e is NoSuchMethodError); /// 05: continued
|
| 1e; /// 02: compile-time error
|
| 1x; /// 03: compile-time error
|
| }
|
|
|