From ba47b8ccfcd2d04516cd5fb09fdd6115d6382ee8 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Tue, 13 Mar 2018 09:27:51 -0700 Subject: [PATCH] test Kotlin with renamed imports --- tests/samples/codefiles/kotlin.kt | 2 ++ tests/test_dependencies.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/samples/codefiles/kotlin.kt b/tests/samples/codefiles/kotlin.kt index 0200188..05e30e9 100644 --- a/tests/samples/codefiles/kotlin.kt +++ b/tests/samples/codefiles/kotlin.kt @@ -13,6 +13,8 @@ package ${package} import delta.io.* +import echo.Foxtrot as Golf +import hotel class MainActivity : AppCompatActivity() { diff --git a/tests/test_dependencies.py b/tests/test_dependencies.py index 67041fa..046d7a6 100644 --- a/tests/test_dependencies.py +++ b/tests/test_dependencies.py @@ -455,8 +455,10 @@ class DependenciesTestCase(TestCase): 'alpha.time', 'bravo.charlie', 'delta.io', + 'echo.Foxtrot', + 'hotel', ], expected_language='Kotlin', - expected_lines=22, + expected_lines=24, entity='kotlin.kt', )