From 64ef6f9c32d07e7ad118dd1698a16e6017ece458 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 1 Mar 2020 19:28:45 +0100 Subject: [PATCH] change test to match new behavior. --- src/attributes/stealth.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attributes/stealth.test.c b/src/attributes/stealth.test.c index 36c020e7d..77d3fd09c 100644 --- a/src/attributes/stealth.test.c +++ b/src/attributes/stealth.test.c @@ -20,7 +20,7 @@ static void test_stealth(CuTest *tc) { CuAssertIntEquals(tc, -1, u_geteffstealth(u)); CuAssertIntEquals(tc, 2, eff_stealth(u, u->region)); u_seteffstealth(u, 3); - CuAssertIntEquals(tc, 3, u_geteffstealth(u)); + CuAssertIntEquals(tc, 2, u_geteffstealth(u)); CuAssertIntEquals(tc, 2, eff_stealth(u, u->region)); u_seteffstealth(u, 1); CuAssertIntEquals(tc, 1, u_geteffstealth(u));