Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mfleader committed Jan 15, 2024
1 parent 0b5394e commit 276a1c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schema/scope_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ func TestUnserialization(t *testing.T) {
unserialized2, err := scopeTestObjectAType.Unserialize(serialized)
assert.NoError(t, err)
serialized2, err := scopeTestObjectAType.Serialize(result)
assert.NoError(t, err)
// test unserialize and serialize are reversible
assert.Equals(t, unserialized2, result)
assert.Equals(t, serialized2, serialized)
Expand All @@ -204,6 +205,7 @@ func TestUnserialization(t *testing.T) {
unserialized2, err = scopeTestObjectATypePtr.Unserialize(serialized)
assert.NoError(t, err)
serialized2, err = scopeTestObjectATypePtr.Serialize(resultPtr)
assert.NoError(t, err)
// test unserialize and serialize are reversible
assert.Equals(t, unserialized2, resultPtr)
assert.Equals(t, serialized2, serialized)
Expand All @@ -219,6 +221,7 @@ func TestUnserialization(t *testing.T) {
unserialized2, err = scopeTestObjectEmptySchema.Unserialize(serialized)
assert.NoError(t, err)
serialized2, err = scopeTestObjectEmptySchema.Serialize(result)
assert.NoError(t, err)
// test unserialize and serialize are reversible
assert.Equals(t, unserialized2, result)
assert.Equals(t, serialized2, serialized)
Expand Down

0 comments on commit 276a1c6

Please sign in to comment.