From 07302e273048f3dd0ab95a55d2e293838a2cd116 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Thu, 10 Mar 2016 17:05:39 +1100 Subject: [PATCH] More attempts to fix tests --- src/tests/gui/test_gui2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/gui/test_gui2.cpp b/src/tests/gui/test_gui2.cpp index e27d2af5a7a9..aa55e42faed5 100644 --- a/src/tests/gui/test_gui2.cpp +++ b/src/tests/gui/test_gui2.cpp @@ -478,6 +478,7 @@ BOOST_AUTO_TEST_CASE(test_gui2) list.erase(std::remove(list.begin(), list.end(), "synced_choice_wait"), list.end()); list.erase(std::remove(list.begin(), list.end(), "drop_down_list"), list.end()); list.erase(std::remove(list.begin(), list.end(), "preferences"), list.end()); + list.erase(std::remove(list.begin(), list.end(), "unit_recruit"), list.end()); // Test size() instead of empty() to get the number of offenders BOOST_CHECK_EQUAL(list.size(), 0);