diff options
| author | historia <[not public]> | 2026-09-15 15:35:52 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-15 15:35:52 -0400 |
| commit | 0b0b25222b3131ada79ff78c28eb8bf07d977deb (patch) | |
| tree | 2ceaef5203595044f66a8f00064cd8e017f8f48d /internal/game/casino_test.go | |
| parent | 396c3facb8287b9a34076cae8f3d7b300d366d99 (diff) | |
| download | thehouseoficarus-0b0b25222b3131ada79ff78c28eb8bf07d977deb.tar.gz | |
feat: single-owner game state, transactional lifecycle, durable money on server stop
Diffstat (limited to 'internal/game/casino_test.go')
| -rw-r--r-- | internal/game/casino_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/casino_test.go b/internal/game/casino_test.go index e43eb05..026415f 100644 --- a/internal/game/casino_test.go +++ b/internal/game/casino_test.go @@ -3,6 +3,7 @@ package game import ( "strings" "testing" + "time" "thehouseoficarus/internal/casino" "thehouseoficarus/internal/color" @@ -19,6 +20,8 @@ func (c *casinoTestConn) Write(b []byte) (int, error) { c.data = append(c.data, b...) return len(b), nil } +func (c *casinoTestConn) SetWriteDeadline(time.Time) error { return nil } + func (c *casinoTestConn) Close() error { return nil } func (c *casinoTestConn) SetEcho(bool) error { return nil } |
