浏览代码

Merge pull request #33481 from tpot/33480-fix-assert-message

Fix incorrect assert message in TestReadProcBool
Aaron Lehmann 8 年之前
父节点
当前提交
7057f6fa0c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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")) {