Skip to content

Commit 7ba7c71

Browse files
committed
fix(test): update integration test assertion to match refactored error string
1 parent bb6480b commit 7ba7c71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/snapshot_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func TestIntegration_SnapshotSaveLoad_MalformedJSON(t *testing.T) {
9999
loaded, err := snapshot.LoadFile(testFile)
100100
assert.Error(t, err)
101101
assert.Nil(t, loaded)
102-
assert.Contains(t, err.Error(), "failed to parse snapshot file")
102+
assert.Contains(t, err.Error(), "parse snapshot:")
103103
}
104104

105105
// TestIntegration_SnapshotSaveLoad_FileNotFound tests error handling for missing files.

0 commit comments

Comments
 (0)