machine/state_test.go
Matthew Rich a4942d95a1
Some checks failed
Machine Tests / test (push) Waiting to run
Lint / golangci-lint (push) Has been cancelled
fix module path
2024-04-04 11:52:39 -07:00

15 lines
256 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")
}
}