| Index: tests/language/src/Unary2Test.dart
|
| ===================================================================
|
| --- tests/language/src/Unary2Test.dart (revision 3859)
|
| +++ tests/language/src/Unary2Test.dart (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| // Dart test for testing binary operations.
|
| @@ -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.
|
| }
|
| }
|
|
|
|
|