From: Darren Chamberlain Date: Fri, 17 Oct 2003 20:15:03 +0000 (+0000) Subject: Updated YAML test. X-Git-Tag: v0.04~46 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e93454afbfc0fafec1e42ff7d1410df5fcc5fba8;p=dbsrgits%2FSQL-Translator.git Updated YAML test. --- diff --git a/t/24yaml.t b/t/24yaml.t index 7626cd1..4df9fd6 100644 --- a/t/24yaml.t +++ b/t/24yaml.t @@ -16,28 +16,50 @@ CREATE TABLE random ( my $yaml = q|--- #YAML:1.0 schema: - random: - foo: - extra: {} - name: foo - order: 2 - size: - - 255 - type: varchar - id: - extra: {} - name: id + procedures: {} + tables: + random: + comments: '' + fields: + foo: + data_type: varchar + default_value: '' + extra: {} + is_nullable: 0 + is_primary_key: 0 + is_unique: 0 + name: foo + order: 2 + size: + - 255 + id: + data_type: int + default_value: ~ + extra: {} + is_nullable: 0 + is_primary_key: 1 + is_unique: 0 + name: id + order: 1 + size: + - 11 + updated: + data_type: timestamp + default_value: ~ + extra: {} + is_nullable: 1 + is_primary_key: 0 + is_unique: 0 + name: updated + order: 3 + size: + - 0 + indices: {} + name: random + options: [] order: 1 - size: - - 11 - type: int - updated: - extra: {} - name: updated - order: 3 - size: - - 0 - type: timestamp + triggers: {} + views: {} |; my $out;