machine/state_test.go
Matthew Rich 85e39191b8
Some checks failed
Lint / golangci-lint (push) Failing after 9m53s
Machine Tests / test (push) Successful in 40s
fix lint errors
2024-04-04 13:08:50 -07:00

15 lines
249 B
Go

// 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")
}
}