Software /
code /
prosody
Diff
tests/test_core_s2smanager.lua @ 2713:1fc95582d74b
tests/test_core_s2smanager.lua: Fix to compare SRV weights correctly
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 25 Feb 2010 17:54:23 +0000 |
parent | 1523:841d61be198f |
child | 2923:b7049746bd29 |
line wrap: on
line diff
--- a/tests/test_core_s2smanager.lua Thu Feb 25 17:53:27 2010 +0000 +++ b/tests/test_core_s2smanager.lua Thu Feb 25 17:54:23 2010 +0000 @@ -30,18 +30,18 @@ assert_equal(csp(r3, r2), false); assert_equal(csp(r3, r3), false); assert_equal(csp(r3, r4), false); - assert_equal(csp(r3, r5), true); + assert_equal(csp(r3, r5), false); assert_equal(csp(r4, r1), false); assert_equal(csp(r4, r2), false); assert_equal(csp(r4, r3), false); assert_equal(csp(r4, r4), false); - assert_equal(csp(r4, r5), true); + assert_equal(csp(r4, r5), false); assert_equal(csp(r5, r1), false); assert_equal(csp(r5, r2), false); - assert_equal(csp(r5, r3), false); - assert_equal(csp(r5, r4), false); + assert_equal(csp(r5, r3), true); + assert_equal(csp(r5, r4), true); assert_equal(csp(r5, r5), false); end