From 0855bce448c0cc7aa57394f44229ee64504bee0a Mon Sep 17 00:00:00 2001 From: JoeWrightss Date: Wed, 19 Dec 2018 20:22:48 +0800 Subject: [PATCH] Fix .Fatalf() error message Signed-off-by: JoeWrightss --- libcontainer/container_linux_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcontainer/container_linux_test.go b/libcontainer/container_linux_test.go index 581ed1aed..29ddbfad3 100644 --- a/libcontainer/container_linux_test.go +++ b/libcontainer/container_linux_test.go @@ -167,7 +167,7 @@ func TestGetContainerStats(t *testing.T) { t.Fatal("intel rdt stats are nil") } if stats.IntelRdtStats.L3CacheSchema != "L3:0=f;1=f0" { - t.Fatalf("expected L3CacheSchema L3:0=f;1=f0 but recevied %s", stats.IntelRdtStats.L3CacheSchema) + t.Fatalf("expected L3CacheSchema L3:0=f;1=f0 but received %s", stats.IntelRdtStats.L3CacheSchema) } } if intelrdt.IsMbaEnabled() { @@ -175,7 +175,7 @@ func TestGetContainerStats(t *testing.T) { t.Fatal("intel rdt stats are nil") } if stats.IntelRdtStats.MemBwSchema != "MB:0=20;1=70" { - t.Fatalf("expected MemBwSchema MB:0=20;1=70 but recevied %s", stats.IntelRdtStats.MemBwSchema) + t.Fatalf("expected MemBwSchema MB:0=20;1=70 but received %s", stats.IntelRdtStats.MemBwSchema) } } }