@@ -18,7 +18,7 @@ func TestLifecycle(t *testing.T) {
1818 // Step 2: Get — verify the sandbox is reachable and fields match.
1919 getCtx , getCancel := context .WithTimeout (context .Background (), defaultTimeout )
2020 defer getCancel ()
21- getOut , getErr , getCode := runCLICtx (getCtx , "sandbox" , "get" , "-o" , "json" , sb .ID )
21+ getOut , getErr , getCode := runCLICtx (getCtx , "sandbox" , "get" , sb .ID )
2222 if getCode != 0 {
2323 t .Fatalf ("sandbox get failed (exit %d)\n stdout: %s\n stderr: %s" , getCode , getOut , getErr )
2424 }
@@ -36,7 +36,7 @@ func TestLifecycle(t *testing.T) {
3636 // Step 3: Edit — set auto-pause to 30m (1800 seconds).
3737 editCtx , editCancel := context .WithTimeout (context .Background (), defaultTimeout )
3838 defer editCancel ()
39- editOut , editErr , editCode := runCLICtx (editCtx , "sandbox" , "edit" , sb .ID , "--auto-pause" , "30m" , "-o" , "json" )
39+ editOut , editErr , editCode := runCLICtx (editCtx , "sandbox" , "edit" , sb .ID , "--auto-pause" , "30m" )
4040 if editCode != 0 {
4141 t .Fatalf ("sandbox edit failed (exit %d)\n stdout: %s\n stderr: %s" , editCode , editOut , editErr )
4242 }
@@ -51,7 +51,7 @@ func TestLifecycle(t *testing.T) {
5151 // Step 4: Pause — command polls internally and renders JSON when not on TTY.
5252 pauseCtx , pauseCancel := context .WithTimeout (context .Background (), createTimeout )
5353 defer pauseCancel ()
54- pauseOut , pauseErr , pauseCode := runCLICtx (pauseCtx , "sandbox" , "pause" , sb .ID , "-o" , "json" )
54+ pauseOut , pauseErr , pauseCode := runCLICtx (pauseCtx , "sandbox" , "pause" , sb .ID )
5555 if pauseCode != 0 {
5656 t .Fatalf ("sandbox pause failed (exit %d)\n stdout: %s\n stderr: %s" , pauseCode , pauseOut , pauseErr )
5757 }
@@ -63,7 +63,7 @@ func TestLifecycle(t *testing.T) {
6363 // Step 5: Resume — command polls internally and renders JSON when not on TTY.
6464 resumeCtx , resumeCancel := context .WithTimeout (context .Background (), createTimeout )
6565 defer resumeCancel ()
66- resumeOut , resumeErr , resumeCode := runCLICtx (resumeCtx , "sandbox" , "resume" , sb .ID , "-o" , "json" )
66+ resumeOut , resumeErr , resumeCode := runCLICtx (resumeCtx , "sandbox" , "resume" , sb .ID )
6767 if resumeCode != 0 {
6868 t .Fatalf ("sandbox resume failed (exit %d)\n stdout: %s\n stderr: %s" , resumeCode , resumeOut , resumeErr )
6969 }
@@ -78,7 +78,7 @@ func TestLifecycle(t *testing.T) {
7878 _ = forkName // no --name flag; kept for tracing only
7979 forkCtx , forkCancel := context .WithTimeout (context .Background (), createTimeout )
8080 defer forkCancel ()
81- forkOut , forkErr , forkCode := runCLICtx (forkCtx , "sandbox" , "fork" , sb .ID , "-o" , "json" )
81+ forkOut , forkErr , forkCode := runCLICtx (forkCtx , "sandbox" , "fork" , sb .ID )
8282 if forkCode != 0 {
8383 t .Fatalf ("sandbox fork failed (exit %d)\n stdout: %s\n stderr: %s" , forkCode , forkOut , forkErr )
8484 }
@@ -103,7 +103,7 @@ func TestLifecycle(t *testing.T) {
103103 // Verify removal: get should fail with a non-zero exit (404).
104104 verCtx , verCancel := context .WithTimeout (context .Background (), defaultTimeout )
105105 defer verCancel ()
106- _ , _ , verCode := runCLICtx (verCtx , "sandbox" , "get" , "-o" , "json" , sb .ID )
106+ _ , _ , verCode := runCLICtx (verCtx , "sandbox" , "get" , sb .ID )
107107 if verCode == 0 {
108108 t .Errorf ("expected non-zero exit after rm, but sandbox get succeeded for %q" , sb .ID )
109109 }
0 commit comments