aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/graphql_spec.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-02-05 19:11:14 +0100
committerGitHub <noreply@github.com>2022-02-05 19:11:14 +0100
commita42137f56a2c06badb9dfbd5a735e36b99564901 (patch)
treee8c6d60531c980db4fafd0b9db3b7457cc6b7d58 /tests/indent/graphql_spec.lua
parentindents(lua): use `(comment) @auto` (diff)
downloadnvim-treesitter-a42137f56a2c06badb9dfbd5a735e36b99564901.tar
nvim-treesitter-a42137f56a2c06badb9dfbd5a735e36b99564901.tar.gz
nvim-treesitter-a42137f56a2c06badb9dfbd5a735e36b99564901.tar.bz2
nvim-treesitter-a42137f56a2c06badb9dfbd5a735e36b99564901.tar.lz
nvim-treesitter-a42137f56a2c06badb9dfbd5a735e36b99564901.tar.xz
nvim-treesitter-a42137f56a2c06badb9dfbd5a735e36b99564901.tar.zst
nvim-treesitter-a42137f56a2c06badb9dfbd5a735e36b99564901.zip
tests: add indent test for graphql (#2459)
Issue #1981
Diffstat (limited to 'tests/indent/graphql_spec.lua')
-rwxr-xr-xtests/indent/graphql_spec.lua19
1 files changed, 19 insertions, 0 deletions
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)