aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/baccarat_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-01 16:26:11 -0400
committerhistoria <[not public]>2026-10-01 16:26:11 -0400
commitd762f8e1360cf38b8e11e69083c2dad59ec7130e (patch)
tree4e684608e02b39b6b085e2a2ab9726bdae063240 /internal/casino/baccarat_test.go
parentc94728c929045f7c1bdf0166df152d944e5f99bc (diff)
downloadthehouseoficarus-d762f8e1360cf38b8e11e69083c2dad59ec7130e.tar.gz
fix: trim extra info from games, A2345 support in pai gow, remove bet timers for single player games
Diffstat (limited to 'internal/casino/baccarat_test.go')
-rw-r--r--internal/casino/baccarat_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/casino/baccarat_test.go b/internal/casino/baccarat_test.go
index b767c74..c4ec4aa 100644
--- a/internal/casino/baccarat_test.go
+++ b/internal/casino/baccarat_test.go
@@ -379,8 +379,8 @@ func TestBaccaratMenuAndActions(t *testing.T) {
menu = event.Menu
}
}
- if menu == nil || !menu.ShowBalance || !strings.Contains(menu.Heading, "Baccarat / Commission | Limits") {
- t.Fatalf("join menu=%+v, want a baccarat betting menu", menu)
+ if menu == nil || !menu.ShowBalance || menu.Heading != "" {
+ t.Fatalf("join menu=%+v, want a baccarat betting menu with no game-name heading", menu)
}
if len(menu.Commands) != 6 || menu.Commands[0].Command != "bet 1 banker" || menu.Commands[2].Command != "stop" || menu.Commands[4].Command != "rules" || menu.Commands[5].Command != "list" {
t.Fatalf("baccarat menu commands=%+v", menu.Commands)