mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
Fix error on linux
This commit is contained in:
parent
2d425e32e9
commit
680acf4e3d
1 changed files with 2 additions and 3 deletions
|
|
@ -2,7 +2,6 @@ package gopsutil_test
|
|||
|
||||
import (
|
||||
"log"
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/pilosa/pilosa"
|
||||
|
|
@ -27,8 +26,8 @@ func TestSystemInfo(t *testing.T) {
|
|||
}
|
||||
|
||||
platform, err := systemInfo.Platform()
|
||||
if err != nil || platform != runtime.GOOS {
|
||||
t.Fatalf("Platform must be %s. (platform: %v, error: %v)", platform, runtime.GOOS, err)
|
||||
if err != nil {
|
||||
t.Fatalf("Error getting platform. (platform: %v, error: %v)", platform, err)
|
||||
}
|
||||
|
||||
family, err := systemInfo.Family()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue