Skip to content

Commit f07aa3a

Browse files
committed
fixed tests
1 parent cbf5e41 commit f07aa3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/kotlin/kscript/examples/AwkComparison.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package kscript.examples
22

3+
import kscript.stopIfNot
34
import kscript.util.OneLinerContext
45
import kscript.text.*
56

@@ -94,7 +95,6 @@ object AwkExample : OneLinerContext(args) {
9495
arg.filter { true }.print()
9596

9697
lines.split().select(with(0).and(1)).print()
97-
9898
}
9999
}
100100
//file:///Users/brandl/Desktop/awk_cheatsheets.pdf

src/test/kotlin/kscript/test/SupportApiTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class SupportApiTest : StringSpec() { init {
3636
"allow to select columsn" {
3737
someFlights().split()
3838
.select(with(3).and(11..13).and(1))
39-
.first() shouldBe listOf("day", "flight", "tailnum", "origin", "year")
39+
.first().data shouldBe listOf("day", "flight", "tailnum", "origin", "year")
4040
}
4141

4242

0 commit comments

Comments
 (0)