-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d348a05
commit 42a4e99
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -225,6 +225,3 @@ internal class BindingTest { | |
) | ||
} | ||
} | ||
|
||
|
||
|
15 changes: 15 additions & 0 deletions
15
kandy-api/src/test/kotlin/org/jetbrains/kotlinx/kandy/dsl/unit/StringAPITest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.jetbrains.kotlinx.kandy.dsl.unit | ||
|
||
import org.jetbrains.kotlinx.kandy.dsl.invoke | ||
import kotlin.test.Test | ||
import kotlin.test.assertEquals | ||
|
||
internal class StringAPITest { | ||
|
||
@Test | ||
fun testStringInvoke(){ | ||
val columnName = "column_name" | ||
val columnReference = columnName<Int>() | ||
assertEquals(columnReference.name(), columnName) | ||
} | ||
} |