From: Peter Verthez Date: Sat, 25 Jan 2003 17:58:26 +0000 (+0000) Subject: Re-parse file after write. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=a24e76e71ed111079c413c42e6621685d6a41e5c;p=gedcom-parse.git Re-parse file after write. --- diff --git a/t/output/write_gom_dates.ref b/t/output/write_gom_dates.ref index 6ed6a31..a62e28b 100644 --- a/t/output/write_gom_dates.ref +++ b/t/output/write_gom_dates.ref @@ -12,4 +12,15 @@ WARNING: Warning: Cross-reference @PERS08@ defined on line 42 is never used WARNING: Warning: Cross-reference @PERS06@ defined on line 34 is never used WARNING: Warning: Cross-reference @PERS05@ defined on line 30 is never used WARNING: Warning: Cross-reference @PERS03@ defined on line 22 is never used +WARNING: Warning: Cross-reference @PERS07@ defined on line 43 is never used +WARNING: Warning: Cross-reference @PERS02@ defined on line 23 is never used +WARNING: Warning: Cross-reference @PERS00@ defined on line 15 is never used +WARNING: Warning: Cross-reference @PERS10@ defined on line 55 is never used +WARNING: Warning: Cross-reference @PERS01@ defined on line 19 is never used +WARNING: Warning: Cross-reference @PERS04@ defined on line 31 is never used +WARNING: Warning: Cross-reference @PERS09@ defined on line 51 is never used +WARNING: Warning: Cross-reference @PERS08@ defined on line 47 is never used +WARNING: Warning: Cross-reference @PERS06@ defined on line 39 is never used +WARNING: Warning: Cross-reference @PERS05@ defined on line 35 is never used +WARNING: Warning: Cross-reference @PERS03@ defined on line 27 is never used Test succeeded diff --git a/t/src/gom_write.c b/t/src/gom_write.c index c0c9199..c04d069 100644 --- a/t/src/gom_write.c +++ b/t/src/gom_write.c @@ -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 {