From ffbfdee4fffc57e1db9ca4557147945a32012f89 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 20 Feb 2015 20:35:02 +0100 Subject: [PATCH] whitespace changes --- scripts/tests/faction.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/tests/faction.lua b/scripts/tests/faction.lua index ab2817fe8..a6265cde9 100644 --- a/scripts/tests/faction.lua +++ b/scripts/tests/faction.lua @@ -5,19 +5,19 @@ module ('tests.eressea.faction', package.seeall, lunit.testcase) local f function setup() - f = faction.create("faction@eressea.de", "human", "de") + f = faction.create("faction@eressea.de", "human", "de") end function test_faction_flags() - assert_equal(0, f.flags) - f.flags = 42 - assert_equal(42, f.flags) + assert_equal(0, f.flags) + f.flags = 42 + assert_equal(42, f.flags) end function test_get_faction() - assert_equal(f, get_faction(f.id)) - assert_equal(f, faction.get(f.id)) - local nf = f.id - if nf>1 then nf = nf - 1 else nf = 1 end - assert_equal(nil, faction.get(nf)) + assert_equal(f, get_faction(f.id)) + assert_equal(f, faction.get(f.id)) + local nf = f.id + if nf>1 then nf = nf - 1 else nf = 1 end + assert_equal(nil, faction.get(nf)) end