File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func TestGetPerformanceInfo(t *testing.T) {
6363 assert .True (t , pi .KernelNonpaged <= pi .KernelTotal , "KernelNonpaged should not exceed KernelTotal" )
6464
6565 // Verify that system cache is reasonable
66- assert .True (t , pi .SystemCache >= 0 , "SystemCache should be non-negative " )
66+ assert .True (t , pi .SystemCache > 0 , "SystemCache should be greater than 0 " )
6767}
6868
6969func TestGetProcessMemoryInfo (t * testing.T ) {
@@ -86,7 +86,7 @@ func TestGetProcessMemoryInfo(t *testing.T) {
8686 assert .True (t , info .PrivateUsage > 0 , "PrivateUsage should be greater than 0" )
8787
8888 // Verify that page fault count is reasonable
89- assert .True (t , info .PageFaultCount >= 0 , "PageFaultCount should be non-negative " )
89+ assert .True (t , info .PageFaultCount > 0 , "PageFaultCount should be greater than 0 " )
9090}
9191
9292func TestGetProcessImageFileName (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments