Update Tests

This commit is contained in:
Robert Uhl 2019-02-20 14:17:45 -05:00 committed by GitHub
parent ec8ce42abb
commit 44bf5b43a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ func TestReminderParse(t *testing.T) {
res := c.message(makeMessage("!remind testuser in unparseable don't fail this test"))
assert.Len(t, mb.Messages, 1)
assert.True(t, res)
assert.Contains(t, mb.Messages[0], "Easy cowboy, not sure I can parse that duration.")
assert.Contains(t, mb.Messages[0], "Easy cowboy, not sure I can parse that duration. Try something like '1.5h' or '2h45m'.")
}
func TestEmptyList(t *testing.T) {