forked from github/server
add another failing unit test for bug 1685, closer to the core of the problem
This commit is contained in:
parent
3dc173b6ec
commit
a2c269e805
|
@ -50,6 +50,12 @@ static void test_read_unitid(CuTest *tc) {
|
||||||
CuAssertIntEquals(tc, -1, read_unitid(u->faction, u->region));
|
CuAssertIntEquals(tc, -1, read_unitid(u->faction, u->region));
|
||||||
free_order(ord);
|
free_order(ord);
|
||||||
|
|
||||||
|
// bug https://bugs.eressea.de/view.php?id=1685
|
||||||
|
ord = create_order(K_GIVE, lang, "##");
|
||||||
|
init_order(ord);
|
||||||
|
CuAssertIntEquals(tc, -1, read_unitid(u->faction, u->region));
|
||||||
|
free_order(ord);
|
||||||
|
|
||||||
test_cleanup();
|
test_cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue