Fix incorrect assert message in TestReadProcBool
Closes #33480. Signed-off-by: Tim Potter <tpot@hpe.com> Upstream-commit: cd457e7885ecb0b00e91162113ce597f131c8386 Component: engine
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user