changeset 251:4dc9d00c359c

fix test
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Dec 2012 12:32:43 +0100
parents f23318b11b39
children bd009f0b1931
files UnitTests/Zip.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTests/Zip.cpp	Wed Dec 05 12:29:10 2012 +0100
+++ b/UnitTests/Zip.cpp	Wed Dec 05 12:32:43 2012 +0100
@@ -69,7 +69,9 @@
   TEST(HierarchicalZipWriter, Filenames)
   {
     ASSERT_EQ("trE hell", HierarchicalZipWriter::Index::KeepAlphanumeric("    ÊtrE hellô  "));
-    ASSERT_EQ("Hello world", HierarchicalZipWriter::Index::KeepAlphanumeric("    Hel^^lo  \t  <world>  "));
+
+    // The "^" character is considered as a space in DICOM
+    ASSERT_EQ("Hel lo world", HierarchicalZipWriter::Index::KeepAlphanumeric("    Hel^^  ^\r\n\t^^lo  \t  <world>  "));
   }
 }