5 use SQL::Translator::Utils qw($DEFAULT_COMMENT header_comment);
9 # Superfluous test, but that's ok
10 use_ok("SQL::Translator::Utils");
12 is($DEFAULT_COMMENT, '-- ', 'default comment');
13 like(header_comment("foo"), qr/[-][-] Created by foo/, "Created by...");
15 my $comm = header_comment("My::Producer",
18 like($comm, qr/[-][-] Created by My::Producer/, 'Multiline header comment...');
19 like($comm, qr/[-][-] Hi mom!/, '...with additional junk');