update strong mode test for fasta scanner

R=vsm@google.com

Review-Url: https://codereview.chromium.org/2973963002 .
This commit is contained in:
Dan Rubel 2017-07-07 12:27:42 -04:00
parent 711e37295a
commit db02df3d3f
2 changed files with 1 additions and 2 deletions

View file

@ -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',

View file

@ -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