mirror of
https://github.com/yibaiba/hideck.git
synced 2026-12-05 16:02:17 +00:00
11 lines
277 B
Go
11 lines
277 B
Go
package mbimcore
|
|
|
|
import "testing"
|
|
|
|
func TestDataInterfaceReturnsConfiguredMBIMInterface(t *testing.T) {
|
|
manager := &Manager{dataCfg: DataConfig{Interface: "wwan1"}}
|
|
if got := manager.DataInterface(); got != "wwan1" {
|
|
t.Fatalf("DataInterface() = %q, want wwan1", got)
|
|
}
|
|
}
|