From: Peter Verthez Date: Wed, 30 Oct 2002 18:14:38 +0000 (+0000) Subject: New reference output after resolution of line numbering bug (613480). X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=f59c97362a99608dd64367e89ef65ab9fd692f8e;p=gedcom-parse.git New reference output after resolution of line numbering bug (613480). --- diff --git a/t/output/bogus.ref b/t/output/bogus.ref index 942aa92..fbb0691 100644 --- a/t/output/bogus.ref +++ b/t/output/bogus.ref @@ -1,11 +1,11 @@ === Parsing bogus file bogus.ged WARNING: Warning on line 1: Unknown encoding, falling back to one-byte -ERROR: Error on line 1: parse error -ERROR: Error on line 2: GEDCOM level number is 2 higher than previous -ERROR: Error on line 15: '@' character should be written as '@@' in values -ERROR: Error on line 18: '@' character should be written as '@@' in values -ERROR: Error on line 26: '@' character should be written as '@@' in values +ERROR: Error: parse error +ERROR: Error: GEDCOM level number is 2 higher than previous +ERROR: Error on line 1: '@' character should be written as '@@' in values +ERROR: Error on line 1: '@' character should be written as '@@' in values +ERROR: Error on line 1: '@' character should be written as '@@' in values === Parsing file minimal.ged Header start diff --git a/t/output/dates.ref b/t/output/dates.ref index b47010a..db4dd4b 100644 --- a/t/output/dates.ref +++ b/t/output/dates.ref @@ -152,8 +152,8 @@ Contents of the date_value: Rec INDI start, xref is @PERS06@ == 1 NAME (342) /Unexpected calendar type/ (ctxt is 333, conversion failures: 0) == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) -ERROR: Error on line 38: Unknown calendar type -ERROR: Error on line 38: parse error +ERROR: Error on line 37: Unknown calendar type +ERROR: Error on line 37: parse error Contents of the date_value: raw value: @#DFRENCH@ 03 BRUM 4 type: 11 @@ -409,8 +409,8 @@ Contents of the date_value: Rec INDI start, xref is @PERS06@ == 1 NAME (342) /Unexpected calendar type/ (ctxt is 333, conversion failures: 0) == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) -ERROR: Error on line 38: Unknown calendar type -ERROR: Error on line 38: parse error +ERROR: Error on line 37: Unknown calendar type +ERROR: Error on line 37: parse error Contents of the date_value: raw value: @#DFRENCH@ 03 BRUM 4 type: 11 diff --git a/t/output/dates_gom.ref b/t/output/dates_gom.ref index a110100..e896068 100644 --- a/t/output/dates_gom.ref +++ b/t/output/dates_gom.ref @@ -1,7 +1,7 @@ === Parsing file dates.ged -Error on line 38: Unknown calendar type -Error on line 38: parse error +Error on line 37: Unknown calendar type +Error on line 37: parse error Warning: Cross-reference @PERS07@ defined on line 38 is never used Warning: Cross-reference @PERS02@ defined on line 18 is never used Warning: Cross-reference @PERS00@ defined on line 10 is never used diff --git a/t/output/encoding_error.ref b/t/output/encoding_error.ref index 66aa52e..9cf3734 100644 --- a/t/output/encoding_error.ref +++ b/t/output/encoding_error.ref @@ -42,7 +42,7 @@ ERROR: Error on line 15: parse error ERROR: Error on line 16: parse error ERROR: Error on line 17: parse error == 1 DATE (342) /No day number/JUL 1992 (ctxt is 333, conversion failures: 0) -ERROR: Error on line 18: parse error +ERROR: Error on line 17: parse error Family start, xref is @F01@ == 1 HUSB (330) @PERS01@ (ctxt is 1, conversion failures: 0) Family end, xref is @F01@ @@ -94,7 +94,7 @@ ERROR: Error on line 15: parse error ERROR: Error on line 16: parse error ERROR: Error on line 17: parse error == 1 DATE (342) /No day number/JUL 1992 (ctxt is 333, conversion failures: 0) -ERROR: Error on line 18: parse error +ERROR: Error on line 17: parse error Family start, xref is @F01@ == 1 HUSB (330) @PERS01@ (ctxt is 2, conversion failures: 0) Family end, xref is @F01@ diff --git a/t/output/unknown.ref b/t/output/unknown.ref index 5ecc9e3..2e67d07 100644 --- a/t/output/unknown.ref +++ b/t/output/unknown.ref @@ -1,7 +1,7 @@ === Parsing file unknown.ged Header start -ERROR: Error on line 3: No encoding defined for 'Unknown_CHARSET' +ERROR: Error on line 2: No encoding defined for 'Unknown_CHARSET' === Total conversion failures: 0 Parse failed diff --git a/t/output/unknown_ignore_errors.ref b/t/output/unknown_ignore_errors.ref index 38314ac..9f29819 100644 --- a/t/output/unknown_ignore_errors.ref +++ b/t/output/unknown_ignore_errors.ref @@ -1,7 +1,7 @@ === Parsing file unknown.ged Header start -ERROR: Error on line 3: No encoding defined for 'Unknown_CHARSET' +ERROR: Error on line 2: No encoding defined for 'Unknown_CHARSET' == 1 CHAR (292) Unknown_CHARSET (ctxt is 1, conversion failures: 0) == 2 VERS (391) Version number of ASCII (whatever it means) (ctxt is 1, conversion failures: 0) Source is APPROVED_SOURCE_NAME (ctxt is 1001, parent is 1)