aboutsummaryrefslogtreecommitdiff
path: root/internal/game/casino_ux_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/casino_ux_test.go')
-rw-r--r--internal/game/casino_ux_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/game/casino_ux_test.go b/internal/game/casino_ux_test.go
index 5313484..415df63 100644
--- a/internal/game/casino_ux_test.go
+++ b/internal/game/casino_ux_test.go
@@ -168,10 +168,10 @@ func TestTableStatusShowsStateAndRules(t *testing.T) {
if !strings.Contains(text, "LIMITS") || !strings.Contains(text, "Waiting for bets") {
t.Fatalf("status missing overview: %q", text)
}
- conn.data = nil
- g.executeTableStatus(sess, []string{"rules"}, "table rules")
- if !strings.Contains(stripANSI(string(conn.data)), "BLACKJACK PAYS") {
- t.Fatalf("table rules missing: %q", stripANSI(string(conn.data)))
+ // The table command carries the blackjack felt; the rules command (not a
+ // "table rules" subcommand) opens the help page.
+ if !strings.Contains(text, "BLACKJACK PAYS") {
+ t.Fatalf("table felt missing: %q", text)
}
}