feat: support controller's cache
This commit is contained in:
@@ -30,7 +30,7 @@ func TestNewGame(t *testing.T) {
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.FileExists(t, filepath.Join(root, "state.json"))
|
||||
assert.FileExists(t, filepath.Join(root, "000/state.json"))
|
||||
assert.FileExists(t, filepath.Join(root, "0000/state.json"))
|
||||
|
||||
g, err := r.LoadState()
|
||||
assert.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user