Skip to content

Commit 0373797

Browse files
committed
test(api): custom commands don't take arguments
Custom commands don't take arguments
1 parent cb23223 commit 0373797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/api_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ describe('opencode.api', function()
418418
build_found = true
419419
assert.equal('Build the project', cmd.desc)
420420
assert.is_function(cmd.fn)
421-
assert.truthy(cmd.args)
421+
assert.falsy(cmd.args)
422422
elseif cmd.slash_cmd == '/test' then
423423
test_found = true
424424
assert.equal('Run tests', cmd.desc)

0 commit comments

Comments
 (0)