Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[t/02-dieldobjects.t] added two failing tests

  • Loading branch information...
commit b529a6b928e96c8f49516fdabeb1ee9ce7fed99d 1 parent a504d8b
@masak masak authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 t/02-fieldobjects.t
View
10 t/02-fieldobjects.t
@@ -2,7 +2,7 @@
use v6;
use Test;
-plan 2;
+plan 4;
use Form::Field;
@@ -16,6 +16,14 @@ lives_ok(
ok($textfield, "TextField constructor returned an object");
+{
+ my $numeric-field;
+ lives_ok( { $numeric-field = Form::Field::NumericField.new; },
+ 'NumericField constructs with no parameters'
+ );
+ ok($numeric-field.defined, 'NumericField constructor returned an object');
+}
+
# todo more of these please!
# vim: ft=perl6 sw=4 ts=4 noexpandtab
Please sign in to comment.
Something went wrong with that request. Please try again.