diff options
| author | historia <[not public]> | 2026-09-16 15:00:46 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-16 15:00:46 -0400 |
| commit | a6cf03a6ae98e4fb675da25046d148e92bcf7206 (patch) | |
| tree | 194499fe9e696be8c31cd915b7ad92678f9f95e0 /internal/game/cmd_room_remove_test.go | |
| parent | 9192d94dea6be5498ab080f3e2df5667af871d7a (diff) | |
| download | thehouseoficarus-a6cf03a6ae98e4fb675da25046d148e92bcf7206.tar.gz | |
chore: staticcheck and gofmt cleanups
Diffstat (limited to 'internal/game/cmd_room_remove_test.go')
| -rw-r--r-- | internal/game/cmd_room_remove_test.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/game/cmd_room_remove_test.go b/internal/game/cmd_room_remove_test.go index cd9569d..97ab859 100644 --- a/internal/game/cmd_room_remove_test.go +++ b/internal/game/cmd_room_remove_test.go @@ -71,14 +71,6 @@ func assertOutContains(t *testing.T, sess *net.Session, sub string) { } } -func assertOutNotContains(t *testing.T, sess *net.Session, sub string) { - t.Helper() - out := sess.Conn.(*removeTestConn).output() - if strings.Contains(out, sub) { - t.Errorf("expected session output to NOT contain %q, got:\n%s", sub, out) - } -} - // reloadAfterCmd re-reads a room from disk after a command has mutated it. func reloadRoom(t *testing.T, g *Game, id int) *world.Room { t.Helper() |
