machine/state_test.go

15 lines
256 B
Go
Raw Normal View History

2024-04-04 17:33:22 +00:00
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
package machine
import (
"testing"
)
func TestMachineState(t *testing.T) {
s := NewState("connected")
if s == nil {
t.Errorf("Failed creating new state")
}
}