summaryrefslogtreecommitdiff
path: root/state_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 15:04:28 +0300
committerWolfy-J <[email protected]>2018-01-28 15:04:28 +0300
commit027557eea5f4b941c889a62c0559d52db91efe3b (patch)
treea933059b82ff7e5869e33d75767aab51aa03846a /state_test.go
parent316f00597c75f6d0b930da25305d27c377778ade (diff)
minor CS
Diffstat (limited to 'state_test.go')
-rw-r--r--state_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/state_test.go b/state_test.go
index 636cd859..be63230e 100644
--- a/state_test.go
+++ b/state_test.go
@@ -15,6 +15,7 @@ func Test_NewState(t *testing.T) {
assert.Equal(t, "ready", newState(StateReady).String())
assert.Equal(t, "working", newState(StateWorking).String())
assert.Equal(t, "stopped", newState(StateStopped).String())
+ assert.Equal(t, "undefined", newState(1000).String())
}
func Test_IsActive(t *testing.T) {