Skip to content

Commit

Permalink
Merge pull request #931 from tklauser/openbsd-mem-test-fix
Browse files Browse the repository at this point in the history
Fix TestVirtual_memory on OpenBSD
  • Loading branch information
Lomanic authored Aug 31, 2020
2 parents c466301 + 62354ea commit e643eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem/mem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestVirtual_memory(t *testing.T) {
case "windows":
total = v.Used + v.Available
totalStr = "used + available"
case "darwin":
case "darwin", "openbsd":
total = v.Used + v.Free + v.Cached + v.Inactive
totalStr = "used + free + cached + inactive"
case "freebsd":
Expand Down

0 comments on commit e643eae

Please sign in to comment.