Skip to content

Commit

Permalink
Add error message to TestAddInvalidFirstArgTypeIgnored
Browse files Browse the repository at this point in the history
  • Loading branch information
ncox-smartsheet committed Nov 18, 2021
1 parent a372deb commit 598584d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add_subtract_test.go
Expand Up @@ -31,7 +31,7 @@ func TestAddInvalidFirstArgTypeIgnored(t *testing.T) {
lib := simpleTime(testTime)

lib.Add("year")
assert.Equal(t, testTime, lib.ToTime())
assert.Equal(t, testTime, lib.ToTime(), "Date arguments must be equal")
}

func TestAddInvalidSecondArgTypeIgnored(t *testing.T) {
Expand Down

0 comments on commit 598584d

Please sign in to comment.