This commit is contained in:
Akizon77
2025-08-28 12:26:30 +08:00
parent 423bf31985
commit 3453aecbec
2 changed files with 32 additions and 16 deletions

View File

@@ -0,0 +1,11 @@
package monitoring
import "testing"
func TestOsName(t *testing.T) {
if got := OSName(); got == "" {
t.Errorf("OSName() = %v, want non-empty string", got)
} else {
t.Logf("OSName() = %v", got)
}
}