14 lines
142 B
Go
14 lines
142 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestSwitchYaml(t *testing.T) {
|
||
|
|
||
|
swi := NewSwitch()
|
||
|
if swi == nil {
|
||
|
t.Error("swi is error")
|
||
|
}
|
||
|
}
|