X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F33tt-table-producer.t;h=c1ccfb7859dd903cc8a0e759e83899a96e9f4ecc;hb=7ed7402c72e81504c8acd4f1bba4837dc69390f0;hp=226679e5f67ba2b76f9cbe2f89f5e6cce3983a64;hpb=0be5b227cf41450dfbd47a634ace6efdd68b1d24;p=dbsrgits%2FSQL-Translator.git diff --git a/t/33tt-table-producer.t b/t/33tt-table-producer.t index 226679e..c1ccfb7 100644 --- a/t/33tt-table-producer.t +++ b/t/33tt-table-producer.t @@ -66,20 +66,22 @@ is( $files[1], "$tdir/pet.txt" , "Wrote pet.txt" ); open(FILE, "$tdir/person.txt") || die "Couldn't open $tdir/person.txt : $!"; eq_or_diff , qq{Table: person Primary Key: person_id - Foriegn Keys: + Foreign Keys: Data Fields: name, age, weight, iq, description } , "person.txt looks right"; +close(FILE); open(FILE, "$tdir/pet.txt") || die "Couldn't open $tdir/pet.txt : $!"; eq_or_diff , qq{Table: pet Primary Key: pet_id, person_id - Foriegn Keys: + Foreign Keys: Data Fields: name, age } -, "person.txt looks right"; +, "pet.txt looks right"; +close(FILE); print $out if DEBUG; @@ -88,11 +90,11 @@ print $out if DEBUG; __DATA__ Table: person Primary Key: person_id - Foriegn Keys: + Foreign Keys: Data Fields: name, age, weight, iq, description Table: pet Primary Key: pet_id, person_id - Foriegn Keys: + Foreign Keys: Data Fields: name, age