Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/base_tests/string_format_test.cpp4
-rw-r--r--indexer/indexer_tests/mwm_set_test.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/base/base_tests/string_format_test.cpp b/base/base_tests/string_format_test.cpp
index 0849838e65..0fcd9f730a 100644
--- a/base/base_tests/string_format_test.cpp
+++ b/base/base_tests/string_format_test.cpp
@@ -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 ^", ());
}
diff --git a/indexer/indexer_tests/mwm_set_test.cpp b/indexer/indexer_tests/mwm_set_test.cpp
index 2f839ac3ab..c630952b1c 100644
--- a/indexer/indexer_tests/mwm_set_test.cpp
+++ b/indexer/indexer_tests/mwm_set_test.cpp
@@ -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