Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 96fae4b

Browse files
committed
Avoid warning about ineffective assignment.
1 parent 4a0d6bb commit 96fae4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpm/cpm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func TestAutoExec(t *testing.T) {
306306
obj.StuffText("nothing\n")
307307
obj.RunAutoExec()
308308

309-
out := ""
309+
var out string
310310
out, err = obj.input.ReadLine(200)
311311
if err != nil {
312312
t.Fatalf("failed to call ReadLine")

0 commit comments

Comments
 (0)