aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/craps_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-01 19:30:38 -0400
committerhistoria <[not public]>2026-10-01 19:30:38 -0400
commit6d9908b29c8187196d23b126b1165c7e0bd0fc76 (patch)
treeddbc02357ed92646b801687b90b1a06c71a15d71 /internal/casino/craps_test.go
parent8a94f21bd47c0a00bc415395232dba22fa958837 (diff)
downloadthehouseoficarus-6d9908b29c8187196d23b126b1165c7e0bd0fc76.tar.gz
fix: casino pai gow sorting, universal unbet, table/rules split, remove solo timers
Diffstat (limited to 'internal/casino/craps_test.go')
-rw-r--r--internal/casino/craps_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/casino/craps_test.go b/internal/casino/craps_test.go
index f49b5d0..603aedb 100644
--- a/internal/casino/craps_test.go
+++ b/internal/casino/craps_test.go
@@ -288,7 +288,7 @@ func TestCrapsTimersControlsAndRefunds(t *testing.T) {
t.Fatal("refund not idempotent")
}
tb.bet("a", "place 6", 12, w)
- tb.action("a", "unbet place 6")
+ tb.action("a", "unbet")
if w.paid != 12 || tb.players.get("a").HasBet {
t.Fatal("optional removal")
}
@@ -396,7 +396,7 @@ func TestCrapsFailureRecoveryAndSnapshots(t *testing.T) {
good := &testWallet{chips: 100}
tb.bet("a", "place 6", 12, good)
tb.action("a", "leave_after")
- tb.action("a", "unbet place 6")
+ tb.action("a", "unbet")
if tb.hasParticipant("a") {
t.Fatal("unbet stranded queued departure")
}