From 4454459fb2ce64caaf1d0e32472ad7dcdbf3e436 Mon Sep 17 00:00:00 2001 From: Jędrzej Boczar Date: Sat, 13 Mar 2021 23:51:57 +0100 Subject: tests/indent: add basic examples for C and Rust --- lua/tests/indent/python_spec.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lua/tests/indent/python_spec.lua') diff --git a/lua/tests/indent/python_spec.lua b/lua/tests/indent/python_spec.lua index 9fcdf4637..70017bde1 100644 --- a/lua/tests/indent/python_spec.lua +++ b/lua/tests/indent/python_spec.lua @@ -14,6 +14,13 @@ describe('indent python', function() 'strings.py', } for _, file in ipairs(files) do - it(file, function() whole_file('lua/tests/indent/python/' .. file) end) + it(file, function() + whole_file('lua/tests/indent/python/' .. file, { + tabstop = 4, + shiftwidth = 4, + softtabstop = 0, + expandtab = true, + }) + end) end end) -- cgit v1.2.3-70-g09d2