Re-parse file after write.
[gedcom-parse.git] / t / src / gom_write.c
index c0c9199553d953c21e3312564be5bad3a99a4c01..c04d069d4234dd7be14b92f20eba9174cef38d83 100644 (file)
@@ -253,6 +253,9 @@ int main(int argc, char* argv[])
   if (result == 0)
     result |= gom_write_file(gedfilename, &total_conv_fails);
   if (result == 0 && total_conv_fails == 0) {
+    result |= gom_parse_file(gedfilename);
+  }
+  if (result == 0) {
     output(1, "Test succeeded\n");
   }
   else {