summaryrefslogtreecommitdiff
path: root/cmds/cmds.go
diff options
context:
space:
mode:
authorbpc2003 <wpesfriendnva@gmail.com>2025-05-26 11:03:48 -0400
committerbpc2003 <wpesfriendnva@gmail.com>2025-05-26 11:03:48 -0400
commite7aa9e6e78f712d2db095af99813f669b1cefe15 (patch)
tree5a28f9b485ed00c3956e0cf43b72e0a5f1c5b69e /cmds/cmds.go
parent6dfd54fcdf17ce732efa14e9c629f804115436fd (diff)
Get started on string tests
Diffstat (limited to 'cmds/cmds.go')
-rw-r--r--cmds/cmds.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/cmds.go b/cmds/cmds.go
index f5b0081..bc521dd 100644
--- a/cmds/cmds.go
+++ b/cmds/cmds.go
@@ -2,6 +2,7 @@
package cmds
import (
+ "fmt"
"strings"
"gosh/global"
@@ -37,6 +38,7 @@ func Eval(cmd string) error {
break
case "test", "[":
global.ReturnCode = test(args)
+ fmt.Println(global.ReturnCode)
break
case "exit":
if err := exit(args); err != nil {