Skip to content
Snippets Groups Projects
Commit 5eaa0dbc authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Fail a test to be sure it works

parent 42bdd504
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!56Fix the CI/CD job
......@@ -21,6 +21,8 @@ import (
func TestGet_NoMessageError(t *testing.T) {
db := newTestDB("messages", "index", t)
t.Errorf("DIE")
_, err := Get(db, "messages", js.ValueOf(5))
if err == nil || !strings.Contains(err.Error(), "undefined") {
t.Errorf("Did not get expected error when getting a message that "+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment