aboutsummaryrefslogtreecommitdiff
path: root/internal/game/roulette_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/roulette_test.go')
-rw-r--r--internal/game/roulette_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/game/roulette_test.go b/internal/game/roulette_test.go
index 9eaea8e..481044d 100644
--- a/internal/game/roulette_test.go
+++ b/internal/game/roulette_test.go
@@ -32,8 +32,10 @@ func TestRouletteNumericTargetsAndRendering(t *testing.T) {
}
conn.data = nil
g.executeTableStatus(sess, nil, "table")
- if !strings.Contains(string(conn.data), "35:1") || strings.Contains(string(conn.data), "Blackjack") {
- t.Fatal("wrong felt", string(conn.data))
+ // The table command shows the wheel board alone: no payout reminder.
+ text := string(conn.data)
+ if !strings.Contains(text, "History") || strings.Contains(text, "Blackjack") || strings.Contains(text, "35:1") {
+ t.Fatal("wrong felt", text)
}
snapshot := &casino.RouletteSnapshot{DoubleZero: double, Phase: "playing", Players: []string{"alice"}}
if got := g.renderCasinoSnapshot(sess, snapshot); got != renderRouletteSnapshot(snapshot, g.colorMode(sess), sess.Player.OptionBool("unicode"), sess.Player.OptionInt("card_size")) {