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

Unified Diff: tests/language/src/Arithmetic2Test.dart

Issue 9559007: Update test.dart for detection output of machine formatted errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added diagnostic for @static-clean conflicts Created 8 years, 10 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
Index: tests/language/src/Arithmetic2Test.dart
diff --git a/tests/language/src/Arithmetic2Test.dart b/tests/language/src/Arithmetic2Test.dart
index 17d96ee9e5efb5c74474681e1392469872ec4daa..89bc0f408d44fa126fdda33bbb96a1701b124a06 100644
--- a/tests/language/src/Arithmetic2Test.dart
+++ b/tests/language/src/Arithmetic2Test.dart
@@ -2,6 +2,7 @@
// 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 program to test arithmetic operations.
+// @static-clean
class A {
static foo() => 499;
@@ -19,7 +20,7 @@ bool throwsNoSuchMethod(f) {
bool throwsBecauseOfBadArgument(f) {
try {
- f();
+ f();
Bill Hesse 2012/03/02 08:55:18 Extra space.
zundel 2012/03/02 23:51:00 Done.
return false;
} catch(NoSuchMethodException e) {
return true;

Powered by Google App Engine
This is Rietveld 408576698