From: Mark Addison Date: Sun, 29 Feb 2004 16:07:34 +0000 (+0000) Subject: Fixed so they test for empty list reference_fields and not the old undef return. X-Git-Tag: v0.06~169 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e6c155dd54a195dfd8e74e4bc86911d0288bd907;p=dbsrgits%2FSQL-Translator.git Fixed so they test for empty list reference_fields and not the old undef return. --- diff --git a/t/17sqlfxml-producer.t b/t/17sqlfxml-producer.t index 79f28a1..4e7af3c 100644 --- a/t/17sqlfxml-producer.t +++ b/t/17sqlfxml-producer.t @@ -117,6 +117,7 @@ $ans = <PRIMARY KEY id + @@ -129,6 +130,7 @@ $ans = <UNIQUE email + @@ -298,8 +300,8 @@ $ans = < - - + + diff --git a/t/24yaml.t b/t/24yaml.t index 6d9e521..5aa41ee 100644 --- a/t/24yaml.t +++ b/t/24yaml.t @@ -23,7 +23,7 @@ schema: on_delete: '' on_update: '' options: [] - reference_fields: ~ + reference_fields: [] reference_table: '' type: PRIMARY KEY - deferrable: 1 @@ -35,7 +35,7 @@ schema: on_delete: '' on_update: '' options: [] - reference_fields: ~ + reference_fields: [] reference_table: '' type: UNIQUE fields: @@ -121,7 +121,7 @@ schema: on_delete: '' on_update: '' options: [] - reference_fields: ~ + reference_fields: [] reference_table: '' type: CHECK - deferrable: 1 @@ -134,7 +134,7 @@ schema: on_delete: '' on_update: '' options: [] - reference_fields: ~ + reference_fields: [] reference_table: '' type: PRIMARY KEY fields: