diff options
Diffstat (limited to 'internal/casino/command_hints_test.go')
| -rw-r--r-- | internal/casino/command_hints_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/casino/command_hints_test.go b/internal/casino/command_hints_test.go index 353d292..bd15883 100644 --- a/internal/casino/command_hints_test.go +++ b/internal/casino/command_hints_test.go @@ -3,7 +3,6 @@ package casino import ( "strings" "testing" - "time" ) func hintHas(commands []MenuCommand, command string) bool { @@ -68,7 +67,7 @@ func TestCrapsHintsFollowPlayerState(t *testing.T) { } tb.players.get("a").autoRoll = false tb.bet("b", "pass", 10, &testWallet{chips: 1000}) - tb.tickElapsed(10 * time.Second) + tb.advance(10) if !hintHas(tb.commands("a"), "roll") || hintHas(tb.commands("b"), "roll") { t.Fatal(v, "wrong shooter hints") } |
