Przeglądaj źródła

Fix incorrect assert message in TestReadProcBool

Closes #33480.

Signed-off-by: Tim Potter <tpot@hpe.com>
Tim Potter 8 lat temu
rodzic
commit
cd457e7885
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pkg/sysinfo/sysinfo_linux_test.go

+ 1 - 1
pkg/sysinfo/sysinfo_linux_test.go

@@ -28,7 +28,7 @@ func TestReadProcBool(t *testing.T) {
 		t.Fatal(err)
 	}
 	if readProcBool(procFile) {
-		t.Fatal("expected proc bool to be false, got false")
+		t.Fatal("expected proc bool to be false, got true")
 	}
 
 	if readProcBool(path.Join(tmpDir, "no-exist")) {