From a42137f56a2c06badb9dfbd5a735e36b99564901 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sat, 5 Feb 2022 19:11:14 +0100 Subject: tests: add indent test for graphql (#2459) Issue #1981 --- tests/indent/graphql_spec.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tests/indent/graphql_spec.lua (limited to 'tests/indent/graphql_spec.lua') 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) -- cgit v1.2.3-70-g09d2