Skip to content

Commit 49a12bf

Browse files
committed
fix: extra birdsh prints
1 parent 7108f38 commit 49a12bf

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

cmd/birdsh_test.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,5 @@ func TestBirdShell(t *testing.T) {
3434
if err != nil {
3535
return
3636
}
37-
defer conn.Close()
38-
39-
_, err = conn.Write([]byte("0001 Fake BIRD response 1"))
40-
assert.Nil(t, err)
41-
42-
_, err = conn.Write([]byte("0001 Fake BIRD response 2"))
43-
assert.Nil(t, err)
37+
conn.Close()
4438
}

0 commit comments

Comments
 (0)