Skip to content

Commit c5e6e09

Browse files
committed
fix: nil error for new created testcases
1 parent c57a789 commit c5e6e09

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lua/assistant/runner.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,11 @@ function M.create_test()
292292
value = {}
293293
end
294294

295-
table.insert(value, {})
295+
table.insert(value, {
296+
input = "",
297+
output = "",
298+
expected = "",
299+
})
296300
return value
297301
end)
298302
ui.render_home()

0 commit comments

Comments
 (0)