From 6dbad7ac9078eb99dc1a2b26639ff24c442f88e1 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 19 Sep 2019 15:25:14 +0300 Subject: [PATCH] fix private backend test --- logger_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger_test.go b/logger_test.go index b9f7fe7..d45b98a 100644 --- a/logger_test.go +++ b/logger_test.go @@ -56,7 +56,7 @@ func TestPrivateBackend(t *testing.T) { if stdBackend.size > 0 { t.Errorf("something in stdBackend, size of backend: %d", stdBackend.size) } - if "to private baсkend" == MemoryRecordN(privateBackend, 0).Formatted(0) { + if "to private backend" != MemoryRecordN(privateBackend, 0).Formatted(0) { t.Error("logged to defaultBackend:", MemoryRecordN(privateBackend, 0)) } }