diff --git a/tests/indent/graphql/issue-1981.graphql b/tests/indent/graphql/issue-1981.graphql new file mode 100644 index 000000000..79aa7f879 --- /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 000000000..4d8be7579 --- /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)