Mercurial > hg > orthanc
diff OrthancServer/UnitTestsSources/ServerIndexTests.cpp @ 5251:a2dd9d03977f db-protobuf
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 08 Apr 2023 10:53:39 +0200 |
parents | a7d95f951f8a |
children | 03501a258d9e |
line wrap: on
line diff
--- a/OrthancServer/UnitTestsSources/ServerIndexTests.cpp Sat Apr 08 10:14:09 2023 +0200 +++ b/OrthancServer/UnitTestsSources/ServerIndexTests.cpp Sat Apr 08 10:53:39 2023 +0200 @@ -1046,8 +1046,9 @@ { ASSERT_TRUE(ServerToolbox::IsValidLabel("abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ")); - ASSERT_TRUE(ServerToolbox::IsValidLabel("0123456789-_.")); + ASSERT_TRUE(ServerToolbox::IsValidLabel("0123456789-_")); ASSERT_FALSE(ServerToolbox::IsValidLabel("")); ASSERT_FALSE(ServerToolbox::IsValidLabel(" ")); ASSERT_FALSE(ServerToolbox::IsValidLabel("&")); + ASSERT_FALSE(ServerToolbox::IsValidLabel(".")); }