From d893e42440a0acb8b3dca5d3b2eb9e31deaba8f2 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 31 Dec 2016 14:05:51 +0100 Subject: [PATCH] Add missing modelines to tests/*.lua Signed-off-by: Uli Schlachter --- tests/_multi_screen.lua | 2 ++ tests/test-awesomerc.lua | 2 ++ tests/test-awful-client.lua | 2 ++ tests/test-awful-layout.lua | 2 ++ tests/test-awful-rules.lua | 2 ++ tests/test-awful-tag.lua | 2 ++ tests/test-miss-handlers.lua | 2 ++ tests/test-resize.lua | 2 ++ tests/test-struts.lua | 3 ++- 9 files changed, 18 insertions(+), 1 deletion(-) diff --git a/tests/_multi_screen.lua b/tests/_multi_screen.lua index 82aa7fe86..bc42b1757 100644 --- a/tests/_multi_screen.lua +++ b/tests/_multi_screen.lua @@ -520,3 +520,5 @@ end return setmetatable(module, { __call = function(_,...) return add_steps(...) end }) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awesomerc.lua b/tests/test-awesomerc.lua index 9e88f9556..fe2b294e4 100644 --- a/tests/test-awesomerc.lua +++ b/tests/test-awesomerc.lua @@ -226,3 +226,5 @@ local steps = { } require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awful-client.lua b/tests/test-awful-client.lua index 86ba04330..5bacf7652 100644 --- a/tests/test-awful-client.lua +++ b/tests/test-awful-client.lua @@ -309,3 +309,5 @@ end) require("_multi_screen")(steps, multi_screen_steps) require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awful-layout.lua b/tests/test-awful-layout.lua index 56713f119..1d2509d42 100644 --- a/tests/test-awful-layout.lua +++ b/tests/test-awful-layout.lua @@ -120,3 +120,5 @@ for _ in ipairs(awful.layout.layouts) do end require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awful-rules.lua b/tests/test-awful-rules.lua index dd136d16b..6391dc6ed 100644 --- a/tests/test-awful-rules.lua +++ b/tests/test-awful-rules.lua @@ -296,3 +296,5 @@ local function spawn_clients() end require("_runner").run_steps{spawn_clients, unpack(tests)} + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-awful-tag.lua b/tests/test-awful-tag.lua index e6601ab43..727359d04 100644 --- a/tests/test-awful-tag.lua +++ b/tests/test-awful-tag.lua @@ -242,3 +242,5 @@ end) require("_multi_screen")(steps, multi_screen_steps) require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-miss-handlers.lua b/tests/test-miss-handlers.lua index 8a8948183..c6b2baffa 100644 --- a/tests/test-miss-handlers.lua +++ b/tests/test-miss-handlers.lua @@ -69,3 +69,5 @@ assert(w2.main_background.main_textbox) assert(w2.main_background == w2:get_children_by_id("main_background")[1]) require("_runner").run_steps({ function() return true end }) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-resize.lua b/tests/test-resize.lua index 7753570a0..298323efb 100644 --- a/tests/test-resize.lua +++ b/tests/test-resize.lua @@ -440,3 +440,5 @@ table.insert(steps, function() end) require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/test-struts.lua b/tests/test-struts.lua index af0f5d4eb..889a1f811 100644 --- a/tests/test-struts.lua +++ b/tests/test-struts.lua @@ -317,5 +317,6 @@ check_maximize() return true end) - require("_runner").run_steps(steps) + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80