add another failing unit test for bug 1685, closer to the core of the problem

This commit is contained in:
Enno Rehling 2015-09-05 19:45:34 +02:00
parent 3dc173b6ec
commit a2c269e805
1 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,12 @@ static void test_read_unitid(CuTest *tc) {
CuAssertIntEquals(tc, -1, read_unitid(u->faction, u->region));
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();
}