fix: unittests

This commit is contained in:
lilong.129
2025-03-05 22:08:03 +08:00
parent 1e1f8d215d
commit f5dff25d26
6 changed files with 125 additions and 328 deletions

View File

@@ -2,13 +2,14 @@
package ios
import "testing"
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGetDevice(t *testing.T) {
device, err := getDevice(udid)
if err != nil {
t.Fatal(err)
}
require.Nil(t, err)
t.Logf("device: %v", device)
}