From 1764ceb2f02eed93baa7128cf048f3302afe5f16 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 8 Apr 2014 13:38:50 -0700 Subject: [PATCH] LP#1303940: improve readability of test case This patch adds some whitespace and a comment in the MARCXML to clarify the sort of data that triggers the bug. Signed-off-by: Galen Charlton --- .../t/regress/lp1303940-browse-hates-null.pg | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/sql/Pg/t/regress/lp1303940-browse-hates-null.pg b/Open-ILS/src/sql/Pg/t/regress/lp1303940-browse-hates-null.pg index f76e868393..a8bb0f94f7 100644 --- a/Open-ILS/src/sql/Pg/t/regress/lp1303940-browse-hates-null.pg +++ b/Open-ILS/src/sql/Pg/t/regress/lp1303940-browse-hates-null.pg @@ -4,7 +4,23 @@ SELECT plan(1); SELECT lives_ok($DATA$ INSERT INTO biblio.record_entry (id, last_xact_id, marc) -VALUES (999999998, 'pgtap', '00531nam a2200157 a 4500879841MAnMC20080729170300.0 t19981999enka 0 eng 1859677126UtOrBLW:The Illustrated hints, tips & household skills :the practical, step-by-step home reference manual /publisher, Joanna Lorenz.updated c2000.London :Lorenz Books :an imprint of Anness Publishing Ltd.,c1998,1999.256 p. :col. ill. ;30 cm.879841AUTOGEN879841biblio'); +VALUES (999999998, 'pgtap', ' + 00531nam a2200157 a 4500 + 879841 + MAnMC + 20080729170300.0 + t19981999enka 0 eng + 1859677126 + UtOrBLW + + : + The Illustrated hints, tips & household skills :the practical, step-by-step home reference manual /publisher, Joanna Lorenz. + updated c2000. + London :Lorenz Books :an imprint of Anness Publishing Ltd.,c1998,1999. + 256 p. :col. ill. ;30 cm. + 879841AUTOGEN879841biblio'); $DATA$, 'We should not get an error for NULL entry.'); -- 2.43.2