Skip to content

Commit

Permalink
db/dbtest: fix tests
Browse files Browse the repository at this point in the history
Related to #240.
  • Loading branch information
fsouza committed Jul 26, 2019
1 parent b18e42e commit 34b05e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/dbtest/fake_db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ func TestCreateLocalPresetEmptyName(t *testing.T) {
if err == nil {
t.Fatal("got unexpected <nil> error")
}
expectedMsg := "invalid local preset name"
const expectedMsg = "preset name missing"
if err.Error() != expectedMsg {
t.Errorf("CreateLocalPreset: wrong error message. Want %q. Got %q", expectedMsg, err.Error())
}
Expand Down

0 comments on commit 34b05e4

Please sign in to comment.