Fix JS source maps for string literals

This commit is contained in:
Alexey Andreev
2017-05-10 20:21:20 +03:00
parent 8dae399945
commit 9692c02f6e
3 changed files with 14 additions and 1 deletions
@@ -132,6 +132,12 @@ public class JsLineNumberTestGenerated extends AbstractJsLineNumberTest {
doTest(fileName);
}
@TestMetadata("stringLiteral.kt")
public void testStringLiteral() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/lineNumbers/stringLiteral.kt");
doTest(fileName);
}
@TestMetadata("syntheticCodeInConstructors.kt")
public void testSyntheticCodeInConstructors() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/lineNumbers/syntheticCodeInConstructors.kt");