forked from organicmaps/organicmaps
Fix unit tests.
This commit is contained in:
parent
8633009162
commit
1e098bc0a3
2 changed files with 3 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
|||
|
||||
UNIT_TEST(StringFormat_Smoke)
|
||||
{
|
||||
TEST_EQUAL(strings::Format("this is % % % %", "a", "very", "simple", "test"), "this is a very simple test", ());
|
||||
TEST_EQUAL(strings::Format("this is ^ ^ ^ ^", "a", "very", "simple", "test"), "this is a very simple test", ());
|
||||
|
||||
TEST_EQUAL(strings::Format("this", "a"), "this", ());
|
||||
|
||||
TEST_EQUAL(strings::Format("this % %", "is"), "this is %", ());
|
||||
TEST_EQUAL(strings::Format("this ^ ^", "is"), "this is ^", ());
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@ namespace
|
|||
{
|
||||
int n = path[0] - '0';
|
||||
info.m_maxScale = n;
|
||||
info.m_limitRect = m2::RectD(0, 0, 1, 1);
|
||||
return 1;
|
||||
}
|
||||
virtual MwmValue * CreateValue(string const &) const
|
||||
|
|
Loading…
Add table
Reference in a new issue