diff options
Diffstat (limited to 'internal/game/look_casino_test.go')
| -rw-r--r-- | internal/game/look_casino_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/game/look_casino_test.go b/internal/game/look_casino_test.go index d53e02d..f48ba89 100644 --- a/internal/game/look_casino_test.go +++ b/internal/game/look_casino_test.go @@ -33,7 +33,7 @@ func TestLookCasinoTableDetailsAndBoards(t *testing.T) { // Craps: details only. The graphical felt and the full rule dump are gone. conn.data = nil - if !g.lookCrapsTable(sess, "craps") { + if !g.lookCasinoTable(sess, "craps", casino.GameCraps) { t.Fatal("look craps did not match") } text := stripANSI(string(conn.data)) @@ -50,7 +50,7 @@ func TestLookCasinoTableDetailsAndBoards(t *testing.T) { // Roulette: details plus the live wheel (tracker, layout, and history). conn.data = nil - if !g.lookRouletteTable(sess, "roulette") { + if !g.lookCasinoTable(sess, "roulette", casino.GameRoulette) { t.Fatal("look roulette did not match") } text = stripANSI(string(conn.data)) @@ -78,7 +78,7 @@ func TestLookCasinoTableAliasesAndFeltGames(t *testing.T) { t.Fatalf("look %s missing %q: %s", target, want, text) } } - if g.lookCrapsTable(sess, "bj") { + if g.lookCasinoTable(sess, "bj", casino.GameCraps) { t.Fatal("look craps matched a blackjack target") } } @@ -88,7 +88,7 @@ func TestLookCasinoUsesLiveNormalizedConfig(t *testing.T) { // defaults EnsureTable fills in, not zero values. g, sess, conn := casinoCrapsGame(t, "name: Bare\ncasino_tables:\n - id: wheel\n game: roulette\n") conn.data = nil - if !g.lookRouletteTable(sess, "wheel") { + if !g.lookCasinoTable(sess, "wheel", casino.GameRoulette) { t.Fatal("look by fixture id did not match") } text := stripANSI(string(conn.data)) |
