Merge pull request #931 from tklauser/openbsd-mem-test-fix

Fix TestVirtual_memory on OpenBSD
pull/933/head
Lomanic 5 years ago committed by GitHub
commit e643eaefcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,7 +33,7 @@ func TestVirtual_memory(t *testing.T) {
case "windows": case "windows":
total = v.Used + v.Available total = v.Used + v.Available
totalStr = "used + available" totalStr = "used + available"
case "darwin": case "darwin", "openbsd":
total = v.Used + v.Free + v.Cached + v.Inactive total = v.Used + v.Free + v.Cached + v.Inactive
totalStr = "used + free + cached + inactive" totalStr = "used + free + cached + inactive"
case "freebsd": case "freebsd":

Loading…
Cancel
Save