From 4bda1a34e026bde2a08a77cc098c86c1fbc353d7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 8 Mar 2017 18:29:04 +0100 Subject: [PATCH] made a mistake in this test. creport was reporting to wrong faction (that sees the same output, so it didn't fail). --- src/creport.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/creport.test.c b/src/creport.test.c index 62ad7fb10..acd6201f9 100644 --- a/src/creport.test.c +++ b/src/creport.test.c @@ -231,7 +231,7 @@ static void test_cr_factionstealth(CuTest *tc) { /* ... also when they are anonymous */ u->flags |= UFL_ANON_FACTION; mstream_init(&strm); - cr_output_unit(&strm, u->region, f1, u, seen_unit); + cr_output_unit(&strm, u->region, f2, u, seen_unit); CuAssertIntEquals(tc, f1->no, cr_get_int(&strm, ";Partei", -1)); CuAssertIntEquals(tc, f2->no, cr_get_int(&strm, ";Anderepartei", -1)); CuAssertIntEquals(tc, -1, cr_get_int(&strm, ";Verraeter", -1));