diff --git a/crdbx/staleness_test.go b/crdbx/staleness_test.go index 5a96b230..ae9dc099 100644 --- a/crdbx/staleness_test.go +++ b/crdbx/staleness_test.go @@ -14,7 +14,7 @@ import ( ) func TestConsistencyLevelFromString(t *testing.T) { - assert.Equal(t, ConsistencyLevelStrong, ConsistencyLevelFromString("")) + assert.Equal(t, ConsistencyLevelUnset, ConsistencyLevelFromString("")) assert.Equal(t, ConsistencyLevelStrong, ConsistencyLevelFromString("strong")) assert.Equal(t, ConsistencyLevelEventual, ConsistencyLevelFromString("eventual")) assert.Equal(t, ConsistencyLevelStrong, ConsistencyLevelFromString("lol"))