Skip to content

Commit

Permalink
Make migration test assertion consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
jdsutherland committed Aug 30, 2018
1 parent f074b6c commit 8dbfcb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/exercise_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestMigrateLegacyMetadataFileWithoutLegacy(t *testing.T) {

status, err := exercise.MigrateLegacyMetadataFile()
assert.Equal(t, MigrationStatusNoop, status)
assert.Nil(t, err)
assert.NoError(t, err)

ok, _ = exercise.HasLegacyMetadata()
assert.False(t, ok)
Expand Down

0 comments on commit 8dbfcb5

Please sign in to comment.