mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
update strong mode test for fasta scanner
R=vsm@google.com Review-Url: https://codereview.chromium.org/2973963002 .
This commit is contained in:
parent
711e37295a
commit
db02df3d3f
2 changed files with 1 additions and 2 deletions
|
@ -1274,7 +1274,6 @@ final notYetStrongTests = new HashSet<String>.from([
|
|||
'language/number_identifier_test_02_multi',
|
||||
'language/number_identifier_test_03_multi',
|
||||
'language/number_identifier_test_04_multi',
|
||||
'language/number_identifier_test_05_multi',
|
||||
'language/number_identifier_test_06_multi',
|
||||
'language/number_identifier_test_07_multi',
|
||||
'language/number_identifier_test_08_multi',
|
||||
|
|
|
@ -29,7 +29,7 @@ main() {
|
|||
Expect.equals(1e-2, 1e-2 as double);
|
||||
Expect.isTrue(1e+2 is double);
|
||||
Expect.equals(1e+2, 1e+2 as double);
|
||||
Expect.throws(() => 1.e+2, // //# 05: ok
|
||||
Expect.throws(() => 1.e+2, // //# 05: compile-time error
|
||||
(e) => e is NoSuchMethodError); // //# 05: continued
|
||||
1d; // //# 06: compile-time error
|
||||
1D; // //# 07: compile-time error
|
||||
|
|
Loading…
Reference in a new issue