Skip to content

Commit

Permalink
common api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiKingsley committed Apr 28, 2023
1 parent d348a05 commit 42a4e99
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,3 @@ internal class BindingTest {
)
}
}



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)
}
}

0 comments on commit 42a4e99

Please sign in to comment.