6 use SQL::Translator::Utils qw(normalize_name);
9 "silly field (with random characters)" => "silly_field_with_random_characters",
11 "hello, world" => "hello_world",
12 "- 9s80 qwehjf 4r" => "_9s80_qwehjf_4r",
15 plan tests => scalar(keys %tests) + 1;
17 # Superfluous test, but that's ok
18 use_ok("SQL::Translator::Utils");
20 for my $test (keys %tests) {
21 is(normalize_name($test) => $tests{$test},
22 "normalize_name('$test') => '$tests{$test}'");