Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: tests/language/ternary_test.dart

Issue 17103002: Remove support for + prefix in number literals (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/language/unary2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/ternary_test.dart
===================================================================
--- tests/language/ternary_test.dart (revision 24043)
+++ tests/language/ternary_test.dart (working copy)
@@ -9,11 +9,11 @@
static true_cond() { return true; }
static false_cond() { return false; }
static foo() { return -4; }
- static moo() { return +5; }
+ static moo() { return 5; }
static testMain() {
Expect.equals(-4, (TernaryTest.true_cond() ? TernaryTest.foo()
: TernaryTest.moo()));
- Expect.equals(+5, (TernaryTest.false_cond() ? TernaryTest.foo()
+ Expect.equals(5, (TernaryTest.false_cond() ? TernaryTest.foo()
: TernaryTest.moo()));
}
}
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/language/unary2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698