diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-11-28 16:11:06 +0300 |
---|---|---|
committer | Ilya Zverev <ilya@zverev.info> | 2017-11-28 16:21:06 +0300 |
commit | 6482843cb0afec52d8cfd057b21788b6008666cc (patch) | |
tree | 86c1d5438f57f0b153442c3cd14e5c3ca7fc06b0 /indexer/indexer_tests | |
parent | 9f63e855b923d90fe5d8b5e84a4e16db5c597e8a (diff) |
[editor] name validation fix - # and № are allowed
Diffstat (limited to 'indexer/indexer_tests')
-rw-r--r-- | indexer/indexer_tests/editable_map_object_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indexer/indexer_tests/editable_map_object_test.cpp b/indexer/indexer_tests/editable_map_object_test.cpp index 2edb50d1aa..910f82e95d 100644 --- a/indexer/indexer_tests/editable_map_object_test.cpp +++ b/indexer/indexer_tests/editable_map_object_test.cpp @@ -191,11 +191,11 @@ UNIT_TEST(EditableMapObject_ValidateEmail) UNIT_TEST(EditableMapObject_ValidateName) { vector<string> correctNames = {"abc", "абв", "ᆺᆯㅕ", "꫞ꪺꫀꪸ", "a b?c", "a!b.c", "a(b)c", "a,b.c", - "a$bc", "a%bc", }; + "a$bc", "a%bc", "a#bc", "a№bc"}; vector<string> incorrectNames = {"a^bc", "a~bc", "a§bc", "a>bc", "a<bc", "a{bc", "a[bc", "*", - "a*bc", "a=bc", "a_bc", "a#bc", "a№bc", "a±bc", "a\nbc", "a\tbc", - "a\rbc", "a\vbc", "a\fbc", "a|bc", "N√", - "Hello World!\U0001F600", "Exit →", "∫0dx = C", "\U0001210A"}; + "a*bc", "a=bc", "a_bc", "a±bc", "a\nbc", "a\tbc", "a\rbc", + "a\vbc", "a\fbc", "a|bc", "N√", "Hello World!\U0001F600", + "Exit →", "∫0dx = C", "\U0001210A"}; for (auto const & name : correctNames) { |