X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=tests%2Ftest_core_s2smanager.lua;h=d2dbf8301565ef0384c12adf3b78ae148db72b7f;hb=e03af6cfcad563f764793d966e1320e18436bb77;hp=7194d201dd75b99ed3cd4cc31c6e4900e83d6107;hpb=390fd286be76753698cd86e2e5d283015248a068;p=prosody.git diff --git a/tests/test_core_s2smanager.lua b/tests/test_core_s2smanager.lua index 7194d201..d2dbf830 100644 --- a/tests/test_core_s2smanager.lua +++ b/tests/test_core_s2smanager.lua @@ -1,7 +1,7 @@ -- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain --- +-- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- @@ -16,7 +16,7 @@ function compare_srv_priorities(csp) local r3 = { priority = 1000, weight = 2 } local r4 = { priority = 1000, weight = 2 } local r5 = { priority = 1000, weight = 5 } - + assert_equal(csp(r1, r1), false); assert_equal(csp(r1, r2), true); assert_equal(csp(r1, r3), true);