mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 14:14:59 -07:00
use #directory in lua test
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ dofile_factorial :: proc(t: ^testing.T) {
|
||||
|
||||
FACT_10 :: 3628800
|
||||
|
||||
res := lua.L_dofile(state, "factorial.lua")
|
||||
res := lua.L_dofile(state, #directory + "/factorial.lua")
|
||||
testing.expectf(t, lua.Status(res) == .OK, "Expected L_dofile to return OKAY")
|
||||
|
||||
fact := lua.L_checkinteger(state, -1)
|
||||
|
||||
Reference in New Issue
Block a user