aboutsummaryrefslogtreecommitdiff
path: root/internal/game/blackjack_rules_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/blackjack_rules_test.go')
-rw-r--r--internal/game/blackjack_rules_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/blackjack_rules_test.go b/internal/game/blackjack_rules_test.go
index 47d057c..ebf5f64 100644
--- a/internal/game/blackjack_rules_test.go
+++ b/internal/game/blackjack_rules_test.go
@@ -26,7 +26,7 @@ func TestLookBlackjackFixtureWithoutScenery(t *testing.T) {
sess.Player.RoomID = 1
for _, target := range []string{"blackjack", "blackjack table", "table", "test", "test table"} {
conn.data = nil
- if !g.lookBlackjackTable(sess, target) {
+ if !g.lookCasinoTable(sess, target, casino.GameBlackjack) {
t.Fatalf("did not match %q", target)
}
text := plainRoulette(string(conn.data))
@@ -36,7 +36,7 @@ func TestLookBlackjackFixtureWithoutScenery(t *testing.T) {
}
}
}
- if g.lookBlackjackTable(sess, "other") {
+ if g.lookCasinoTable(sess, "other", casino.GameBlackjack) {
t.Fatal("matched unrelated target")
}
}