Fix js tests
This commit is contained in:
@ -147,14 +147,14 @@ public class EcmascriptTokenizerTest {
|
|||||||
+ "}"));
|
+ "}"));
|
||||||
final Tokens tokens = new Tokens();
|
final Tokens tokens = new Tokens();
|
||||||
t.tokenize(sourceCode, tokens);
|
t.tokenize(sourceCode, tokens);
|
||||||
final String templateString = "`<g>" + PMD.EOL
|
final String templateString = "`<g>\n"
|
||||||
+ " <path class=\"location\"/>" + PMD.EOL
|
+ " <path class=\"location\"/>" + "\n"
|
||||||
+ " <text x=\"0\" y=\"0\" text-anchor=\"middle\" class=\"location-text\"></text>" + PMD.EOL
|
+ " <text x=\"0\" y=\"0\" text-anchor=\"middle\" class=\"location-text\"></text>" + "\n"
|
||||||
+ PMD.EOL
|
+ "\n"
|
||||||
+ " <path class=\"location\"/>" + PMD.EOL
|
+ " <path class=\"location\"/>" + "\n"
|
||||||
+ " <circle class=\"location-circle\"/>" + PMD.EOL
|
+ " <circle class=\"location-circle\"/>" + "\n"
|
||||||
+ " ${drawIndicators.Check.markup}" + PMD.EOL
|
+ " ${drawIndicators.Check.markup}" + "\n"
|
||||||
+ PMD.EOL
|
+ "\n"
|
||||||
+ " </g>`";
|
+ " </g>`";
|
||||||
assertEquals(templateString, tokens.getTokens().get(24).toString());
|
assertEquals(templateString, tokens.getTokens().get(24).toString());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user