17 lines
272 B
Go
17 lines
272 B
Go
package status
|
|
|
|
import "testing"
|
|
|
|
func TestGet(t *testing.T) {
|
|
|
|
// only test for panics
|
|
// TODO: write real tests
|
|
ActiveSecurityLevel()
|
|
SelectedSecurityLevel()
|
|
option := ConfigIsActive("invalid")
|
|
option(0)
|
|
option = ConfigIsActiveConcurrent("invalid")
|
|
option(0)
|
|
|
|
}
|