forked from phoedos/pmd
Added unit test for string containing escaped quotes.
This commit is contained in:
@ -31,6 +31,7 @@ public class DartTokenizerTest extends AbstractTokenizerTest {
|
||||
public static Collection<Object[]> data() {
|
||||
return Arrays.asList(
|
||||
new Object[] { "comment.dart", 5 },
|
||||
new Object[] { "escaped_string.dart", 17 },
|
||||
new Object[] { "increment.dart", 185 },
|
||||
new Object[] { "imports.dart", 1 }
|
||||
);
|
||||
|
@ -0,0 +1,4 @@
|
||||
var a = "a";
|
||||
var b = "b";
|
||||
var c = "c";
|
||||
var x = "$a(b: $b, c: \"$c\")";
|
Reference in New Issue
Block a user