Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/BeautifySemanticProcessorTest.java |
diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/BeautifySemanticProcessorTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/BeautifySemanticProcessorTest.java |
index d0e8c1c86e7c8b1a17f2077720e843bb8c5365ef..edaa956d0250a006009eec73a57b3ebebabbba0f 100644 |
--- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/BeautifySemanticProcessorTest.java |
+++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/BeautifySemanticProcessorTest.java |
@@ -41,6 +41,7 @@ public class BeautifySemanticProcessorTest extends SemanticProcessorTest { |
" print(-(Integer) p);", |
" print((Integer) p + 1);", |
" print((Integer) p - 1);", |
+ " print(((42)));", |
" Object v = (Integer) p;", |
" v = (Integer) p;", |
" }", |
@@ -58,10 +59,11 @@ public class BeautifySemanticProcessorTest extends SemanticProcessorTest { |
assertFormattedSource( |
"class A {", |
" void main(Object p) {", |
- " print((p as int));", |
+ " print(p as int);", |
" print(-(p as int));", |
" print((p as int) + 1);", |
" print((p as int) - 1);", |
+ " print(42);", |
" Object v = p as int;", |
" v = p as int;", |
" }", |