summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/indent/graphql/issue-1981.graphql6
-rwxr-xr-xtests/indent/graphql_spec.lua19
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/indent/graphql/issue-1981.graphql b/tests/indent/graphql/issue-1981.graphql
new file mode 100644
index 00000000..79aa7f87
--- /dev/null
+++ b/tests/indent/graphql/issue-1981.graphql
@@ -0,0 +1,6 @@
+query Me {
+ me {
+ id
+ fullName
+ }
+}
diff --git a/tests/indent/graphql_spec.lua b/tests/indent/graphql_spec.lua
new file mode 100755
index 00000000..4d8be757
--- /dev/null
+++ b/tests/indent/graphql_spec.lua
@@ -0,0 +1,19 @@
+local Runner = require("tests.indent.common").Runner
+--local XFAIL = require("tests.indent.common").XFAIL
+
+local run = Runner:new(it, "tests/indent/graphql", {
+ tabstop = 2,
+ shiftwidth = 2,
+ softtabstop = 0,
+ expandtab = true,
+})
+
+describe("indent Lua:", function()
+ describe("whole file:", function()
+ run:whole_file(".", {
+ expected_failures = {},
+ })
+ end)
+
+ describe("new line:", function() end)
+end)