Skip to content

Commit 067f616

Browse files
committed
fix up tests
1 parent d006e29 commit 067f616

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/unit/runtime_test.wren

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ Testie.test("Runtime") { |it, skip|
77
it.should("have class level constants") {
88
Expect.value(Runtime.NAME).toEqual("wren-console")
99
Expect.value(Runtime.WREN_VERSION).toEqual("0.4.0")
10-
Expect.value(Runtime.VERSION).toEqual("0.3.0")
10+
Expect.value(Runtime.VERSION).toBeDefined()
1111
}
1212
it.should("have details") {
1313
var details = Runtime.details
1414
Expect.value(details["name"]).toEqual("wren-console")
1515
Expect.value(details["wrenVersion"]).toEqual("0.4.0")
16-
Expect.value(details["version"]).toEqual("0.3.0")
16+
Expect.value(details["version"]).toBeDefined()
1717
}
1818
it.should("assertVersion") {
1919
Runtime.assertVersion("0.1.0")
20+
Runtime.assertVersion("0.2.5")
2021
Runtime.assertVersion("0.3.0")
2122
Expect.that { Runtime.assertVersion("12.0.0") }
2223
.toAbortWith("wren-console version 12.0.0 or higher required.")

0 commit comments

Comments
 (0)