From b1443ca49f51521de913f9133c4aae5426fd4e99 Mon Sep 17 00:00:00 2001 From: Chris Hoffman Date: Wed, 6 Dec 2017 12:23:15 -0500 Subject: [PATCH] fix test error text --- physical/inmem/cache_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/physical/inmem/cache_test.go b/physical/inmem/cache_test.go index 9950b27bd49d..86ae79d2ce33 100644 --- a/physical/inmem/cache_test.go +++ b/physical/inmem/cache_test.go @@ -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") } } @@ -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 @@ -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 @@ -326,5 +326,4 @@ func TestCache_CoreExceptions(t *testing.T) { if string(ent.Value) != "bar" { t.Fatal("expected cached value") } - }