Skip to content

Commit

Permalink
fix test error text
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hoffman committed Dec 6, 2017
1 parent b9a17d0 commit b1443ca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions physical/inmem/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func TestCache_ExcludeCoreTransactional(t *testing.T) {
t.Fatal(err)
}
if string(entry.Value) != "foobar" {
t.Fatal("expected uncached value")
t.Fatal("expected non-cached value")
}
}

Expand Down Expand Up @@ -255,7 +255,7 @@ func TestCache_CoreExceptions(t *testing.T) {
t.Fatal(err)
}
if string(ent.Value) != "foobar" {
t.Fatal("expected cached value")
t.Fatal("expected non-cached value")
}

// Now try an exception
Expand Down Expand Up @@ -301,7 +301,7 @@ func TestCache_CoreExceptions(t *testing.T) {
t.Fatal(err)
}
if string(ent.Value) != "foobar" {
t.Fatal("expected uncached value")
t.Fatal("expected non-cached value")
}

// another one
Expand All @@ -326,5 +326,4 @@ func TestCache_CoreExceptions(t *testing.T) {
if string(ent.Value) != "bar" {
t.Fatal("expected cached value")
}

}

0 comments on commit b1443ca

Please sign in to comment.