forked from github/server
made a mistake in this test.
creport was reporting to wrong faction (that sees the same output, so it didn't fail).
This commit is contained in:
parent
517da2dff1
commit
4bda1a34e0
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue