12 lines
178 B
Go
12 lines
178 B
Go
|
package openwrt
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestUCIStruct(t *testing.T) {
|
||
|
exec := createMockExecutor("", "", 1)
|
||
|
uci := NewUCIWithExecutor(exec)
|
||
|
uci.Add("wireless", "test")
|
||
|
}
|