Add test for another case.

This commit is contained in:
Pavel V. Talanov
2012-03-28 19:44:50 +04:00
parent fd1d6e8dfc
commit e9f78b6fe2
2 changed files with 13 additions and 0 deletions
@@ -62,6 +62,10 @@ public final class InlineTest extends SingleFileTranslationTest {
checkFooBoxIsTrueAndFunctionNameIsNotReferenced("extension.kt", "myInlineExtension");
}
public void testExtensionWithParameter() throws Exception {
checkFooBoxIsTrueAndFunctionNameIsNotReferenced("extensionWithParameter.kt", "myInlineExtension");
}
private void checkFooBoxIsTrueAndFunctionNameIsNotReferenced(@NotNull String filename, String funName) throws Exception {
checkFooBoxIsTrue(filename);
String generatedJSFilePath = getOutputFilePath(filename);