Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java |
diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java |
index 4d0da8e8d9c7da51903ef39b146b2cc52aa0e53a..daba32696b1d0338222f130e8c71940c2889a207 100644 |
--- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java |
+++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java |
@@ -873,12 +873,16 @@ public class ObjectSemanticProcessorTest extends SemanticProcessorTest { |
" public String testB(String s, String r) {", |
" return s.replace('/', r);", |
" }", |
+ " public String testC(String s, char r) {", |
+ " return s.replace('/', r);", |
+ " }", |
"}"); |
runProcessor(); |
assertFormattedSource( |
"class Test {", |
" String testA(String s, String p, String r) => s.replaceAll(p, r);", |
" String testB(String s, String r) => s.replaceAll('/', r);", |
+ " String testC(String s, int r) => s.replaceAll('/', new String.fromCharCode(r));", |
"}"); |
} |