diff options
| author | historia <[not public]> | 2026-10-01 19:30:38 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 19:30:38 -0400 |
| commit | 6d9908b29c8187196d23b126b1165c7e0bd0fc76 (patch) | |
| tree | ddbc02357ed92646b801687b90b1a06c71a15d71 /internal/game/casino_ux_test.go | |
| parent | 8a94f21bd47c0a00bc415395232dba22fa958837 (diff) | |
| download | thehouseoficarus-6d9908b29c8187196d23b126b1165c7e0bd0fc76.tar.gz | |
fix: casino pai gow sorting, universal unbet, table/rules split, remove solo timers
Diffstat (limited to 'internal/game/casino_ux_test.go')
| -rw-r--r-- | internal/game/casino_ux_test.go | 8 |
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) } } |
