mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Remove copy-paste, use CodegenTestCase's infrastructure as much as possible, use InTextDirectiveUtils instead of regexps
9 lines
178 B
Kotlin
Vendored
9 lines
178 B
Kotlin
Vendored
|
|
// KOTLIN_SCRIPT_DEFINITION: org.jetbrains.kotlin.codegen.TestScriptWithSimpleEnvVars
|
|
|
|
// envVar: stringVar1=abracadabra
|
|
|
|
val res = stringVar1.drop(4)
|
|
|
|
// expected: res=cadabra
|