fix test for version info
authorNiki Roo <niki@nikiroo.be>
Thu, 19 Sep 2019 21:08:41 +0000 (23:08 +0200)
committerNiki Roo <niki@nikiroo.be>
Thu, 19 Sep 2019 21:08:41 +0000 (23:08 +0200)
src/be/nikiroo/fanfix/test/ConversionTest.java

index 035a848948aa10708120fe9c12bf24742563fb68..607f49ba744b955eba4bf21796ee54b03b9ba9a4 100644 (file)
@@ -75,15 +75,16 @@ class ConversionTest extends TestLauncher {
        protected void start() throws Exception {
                skipCompare = new HashMap<String, List<String>>();
                skipCompareCross = new HashMap<String, List<String>>();
-               
-               skipCompare.put("epb.ncx",
-                               Arrays.asList("         <meta name=\"dtb:uid\" content="));
+
+               skipCompare.put("epb.ncx", Arrays.asList(
+                               "               <meta name=\"dtb:uid\" content=",
+                               "               <meta name=\"epub-creator\" content=\""));
                skipCompare.put("epb.opf", Arrays.asList("      <dc:subject>",
                                "      <dc:identifier id=\"BookId\" opf:scheme=\"URI\">"));
-               skipCompare.put(".info",
-                               Arrays.asList("CREATION_DATE=", "URL=\"file:/", "UUID="));
+               skipCompare.put(".info", Arrays.asList("CREATION_DATE=",
+                               "URL=\"file:/", "UUID=EPUBCREATOR=\"", ""));
                skipCompare.put("URL", Arrays.asList("file:/"));
-               
+
                for (String key : skipCompare.keySet()) {
                        skipCompareCross.put(key, skipCompare.get(key));
                }