diff --git a/gopsutil/systeminfo_test.go b/gopsutil/systeminfo_test.go index 41b58ec1c..4131942a2 100644 --- a/gopsutil/systeminfo_test.go +++ b/gopsutil/systeminfo_test.go @@ -28,7 +28,7 @@ func TestSystemInfo(t *testing.T) { platform, err := systemInfo.Platform() if err != nil || platform != runtime.GOOS { - t.Fatalf("Platform must be %s. (error: %v)", runtime.GOOS, err) + t.Fatalf("Platform must be %s. (platform: %v, error: %v)", platform, runtime.GOOS, err) } family, err := systemInfo.Family()