From 90511b434c752d1624b394fe079f05747c5174e7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 4 Aug 2020 19:10:05 +0200 Subject: [PATCH] update test for lighthouse visibility --- src/reports.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reports.test.c b/src/reports.test.c index 0a85b75d2..68a37e769 100644 --- a/src/reports.test.c +++ b/src/reports.test.c @@ -871,7 +871,7 @@ static void test_visible_unit(CuTest *tc) { CuAssertTrue(tc, !visible_unit(u, f, 0, seen_lighthouse_land)); CuAssertTrue(tc, visible_unit(u, f, 0, seen_lighthouse)); - CuAssertTrue(tc, !visible_unit(u, f, -2, seen_lighthouse)); + CuAssertTrue(tc, visible_unit(u, f, -2, seen_lighthouse)); u->ship = sh = test_create_ship(u->region, NULL); CuAssertTrue(tc, visible_unit(u, f, -2, seen_travel));