test: commands now accept stdout/stderr fields.

This commit is contained in:
2026-06-15 17:00:45 -04:00
parent ec96dff055
commit 4600c81401
18 changed files with 157 additions and 160 deletions

View File

@@ -5,7 +5,6 @@ import "core:fmt"
COMPLETION_SCRIPT: string : string(#load("mod.nu"))
cmd_nushell_completion :: proc(cmd: ^Command) {
// TODO: Use buffered writer?
fmt.print(COMPLETION_SCRIPT)
fmt.wprint(cmd.out, COMPLETION_SCRIPT, flush = false)
}