OSDN Git Service

Thanos did someting
[bytom/vapor.git] / vendor / github.com / hashicorp / hcl / json / token / token_test.go
diff --git a/vendor/github.com/hashicorp/hcl/json/token/token_test.go b/vendor/github.com/hashicorp/hcl/json/token/token_test.go
deleted file mode 100644 (file)
index a83fdd5..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-package token
-
-import (
-       "testing"
-)
-
-func TestTypeString(t *testing.T) {
-       var tokens = []struct {
-               tt  Type
-               str string
-       }{
-               {ILLEGAL, "ILLEGAL"},
-               {EOF, "EOF"},
-               {NUMBER, "NUMBER"},
-               {FLOAT, "FLOAT"},
-               {BOOL, "BOOL"},
-               {STRING, "STRING"},
-               {NULL, "NULL"},
-               {LBRACK, "LBRACK"},
-               {LBRACE, "LBRACE"},
-               {COMMA, "COMMA"},
-               {PERIOD, "PERIOD"},
-               {RBRACK, "RBRACK"},
-               {RBRACE, "RBRACE"},
-       }
-
-       for _, token := range tokens {
-               if token.tt.String() != token.str {
-                       t.Errorf("want: %q got:%q\n", token.str, token.tt)
-
-               }
-       }
-
-}