Skip to content

Commit

Permalink
fixed up test names
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael committed Jul 4, 2016
1 parent 1343ed1 commit 308076c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/fields/fields.t
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ ok( $field->has_errors, 'Test for errors " $12,345.67 "' );
is( $field->errors->[0], 'Value must be a real number', 'get error' );
$field->_set_input( " \N{POUND SIGN}12,345.67 " );
$field->validate_field;
ok( $field->has_errors, 'Test for errors " \N{POUND SIGN}12345.67 "' );
ok( $field->has_errors, 'Test for errors " \N{POUND SIGN}12,345.67 "' );
is( $field->errors->[0], 'Value must be a real number', 'get error' );
$field = $class->new(
name => 'test_field',
Expand All @@ -246,7 +246,7 @@ $field->build_result;
ok( defined $field, 'new() called' );
$field->_set_input( " \N{POUND SIGN}12,345.67 " );
$field->validate_field;
ok( !$field->has_errors, 'Test for errors " \N{POUND SIGN}12345.67 "' );
ok( !$field->has_errors, 'Test for errors " \N{POUND SIGN}12,345.67 "' );


# monthday
Expand Down

0 comments on commit 308076c

Please sign in to comment.