Software /
code /
prosody
Changeset
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 |
parents | 2712:9c579864b20a |
children | 2714:9c5d8e0c146e 2760:604db849f111 2814:752182f12c35 |
files | tests/test_core_s2smanager.lua |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
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