Index: tests/language/unary2_test.dart |
=================================================================== |
--- tests/language/unary2_test.dart (revision 24043) |
+++ tests/language/unary2_test.dart (working copy) |
@@ -7,10 +7,9 @@ |
class UnaryTest { |
static foo() { return -4; } |
- static moo() { return +5; } |
+ static moo() { return 5; } |
static testMain() { |
Expect.equals(1, (UnaryTest.foo() + UnaryTest.moo())); |
- var x = +.5; // Legal number, '+' is not a unary operator. |
} |
} |