Skip to content

Commit 1774aeb

Browse files
committed
refactor: replace SimpleDataClass with Pair for jsr variable test
1 parent 4830bdc commit 1774aeb

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

alchemist-loading/src/test/kotlin/it/unibo/alchemist/test/TestKtVariable.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,3 @@ class TestKtVariable<T, P : Position<P>> :
8989
loader.variables["simple"] shouldNot beNull()
9090
}
9191
})
92-
93-
data class SimpleDataClass(val number: Int, val name: String)

alchemist-loading/src/test/resources/regression/testJSRVariable.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ variables:
66
simple: &simple
77
language: kotlin
88
formula: |
9-
import it.unibo.alchemist.test.SimpleDataClass
10-
val simpleDataClass = SimpleDataClass(number, name)
9+
val couple: Pair<Int, String> = number to name

0 commit comments

Comments
 (0)