aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/baccarat_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-30 20:50:45 -0400
committerhistoria <[not public]>2026-09-30 20:50:45 -0400
commite3ff06fc79682673194c8913f0feb9e90920e7d0 (patch)
tree86e25670b5bd02d9868130afcc7a69ec1b7b9ed1 /internal/casino/baccarat_test.go
parenta5b9c1052c4640ba519e608e0c97e603ce6aa5ef (diff)
downloadthehouseoficarus-e3ff06fc79682673194c8913f0feb9e90920e7d0.tar.gz
feat: look, rules, and list commands updated for casino games
Diffstat (limited to 'internal/casino/baccarat_test.go')
-rw-r--r--internal/casino/baccarat_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/casino/baccarat_test.go b/internal/casino/baccarat_test.go
index dce1629..b767c74 100644
--- a/internal/casino/baccarat_test.go
+++ b/internal/casino/baccarat_test.go
@@ -382,7 +382,7 @@ func TestBaccaratMenuAndActions(t *testing.T) {
if menu == nil || !menu.ShowBalance || !strings.Contains(menu.Heading, "Baccarat / Commission | Limits") {
t.Fatalf("join menu=%+v, want a baccarat betting menu", menu)
}
- if len(menu.Commands) != 4 || menu.Commands[0].Command != "bet 1 banker" || menu.Commands[2].Command != "stop" {
+ 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)
}
if events := table.action("alice", "hit"); !hasMessage(events, "no player actions") {