Chromium Code Reviews| Index: tests/language/src/Unary2Test.dart |
| =================================================================== |
| --- tests/language/src/Unary2Test.dart (revision 3812) |
| +++ tests/language/src/Unary2Test.dart (working copy) |
| @@ -8,6 +8,7 @@ |
| static moo() { return +5; } |
| static testMain() { |
| Expect.equals(1, (UnaryTest.foo() + UnaryTest.moo())); |
| + var x = +.5; // Legal number, '+' is not a unary operator. |
| } |
| } |