Initial Proxmox dashboard with host and guest metrics
This commit is contained in:
9
zfs_test.go
Normal file
9
zfs_test.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestParsePercent(t *testing.T) {
|
||||
if value := parsePercent("37%"); value != 37 {
|
||||
t.Fatalf("неожиданный процент: %v", value)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user