aboutsummaryrefslogtreecommitdiff
path: root/client/state_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/state_test.go')
-rw-r--r--client/state_test.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/client/state_test.go b/client/state_test.go
deleted file mode 100644
index 917c211..0000000
--- a/client/state_test.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package client
-
-import "testing"
-
-func TestNewState(t *testing.T) {
- // Empty login
- if s := NewState(nil, ""); s.currentMenu != "anonymous" {
- t.Fatal("a new state without login should init to anonymous")
- }
- // logged_in
- if s := NewState(nil, "test"); s.currentMenu != "logged_in" {
- t.Fatal("a new state with login should init to logged_in")
- }
-}