forked from github/server
Merge pull request #894 from ennorehling/develop
change test to match new behavior.
This commit is contained in:
commit
c44bff801f
|
@ -20,7 +20,7 @@ static void test_stealth(CuTest *tc) {
|
||||||
CuAssertIntEquals(tc, -1, u_geteffstealth(u));
|
CuAssertIntEquals(tc, -1, u_geteffstealth(u));
|
||||||
CuAssertIntEquals(tc, 2, eff_stealth(u, u->region));
|
CuAssertIntEquals(tc, 2, eff_stealth(u, u->region));
|
||||||
u_seteffstealth(u, 3);
|
u_seteffstealth(u, 3);
|
||||||
CuAssertIntEquals(tc, 3, u_geteffstealth(u));
|
CuAssertIntEquals(tc, 2, u_geteffstealth(u));
|
||||||
CuAssertIntEquals(tc, 2, eff_stealth(u, u->region));
|
CuAssertIntEquals(tc, 2, eff_stealth(u, u->region));
|
||||||
u_seteffstealth(u, 1);
|
u_seteffstealth(u, 1);
|
||||||
CuAssertIntEquals(tc, 1, u_geteffstealth(u));
|
CuAssertIntEquals(tc, 1, u_geteffstealth(u));
|
||||||
|
|
Loading…
Reference in New Issue