OSDN Git Service

Thanos did someting
[bytom/vapor.git] / vendor / github.com / hashicorp / hcl / lex_test.go
diff --git a/vendor/github.com/hashicorp/hcl/lex_test.go b/vendor/github.com/hashicorp/hcl/lex_test.go
deleted file mode 100644 (file)
index 8062764..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package hcl
-
-import (
-       "testing"
-)
-
-func TestLexMode(t *testing.T) {
-       cases := []struct {
-               Input string
-               Mode  lexModeValue
-       }{
-               {
-                       "",
-                       lexModeHcl,
-               },
-               {
-                       "foo",
-                       lexModeHcl,
-               },
-               {
-                       "{}",
-                       lexModeJson,
-               },
-               {
-                       "  {}",
-                       lexModeJson,
-               },
-       }
-
-       for i, tc := range cases {
-               actual := lexMode([]byte(tc.Input))
-
-               if actual != tc.Mode {
-                       t.Fatalf("%d: %#v", i, actual)
-               }
-       }
-}