diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-03-24 11:40:33 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-03-24 11:40:33 -0400 |
commit | 1c69396362e25b285956643ea322405412744d27 (patch) | |
tree | 79ab97aa3944b7115c868c8b7c0f4696f1d6506c | |
parent | de8b5da4e90ecf2e4f8c7ed1f4a39d7c9961d9b3 (diff) | |
download | ox-view-tt-1c69396362e25b285956643ea322405412744d27.tar.gz ox-view-tt-1c69396362e25b285956643ea322405412744d27.zip |
clean up formatting
-rw-r--r-- | lib/OX/View/TT.pm | 2 | ||||
-rw-r--r-- | t/array_parameter.t | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/OX/View/TT.pm b/lib/OX/View/TT.pm index 3a7d4c1..90b60b9 100644 --- a/lib/OX/View/TT.pm +++ b/lib/OX/View/TT.pm @@ -21,8 +21,6 @@ use Template; }, ); - - has view => ( is => 'ro', isa => 'OX::View::TT', diff --git a/t/array_parameter.t b/t/array_parameter.t index 22533c2..1f78154 100644 --- a/t/array_parameter.t +++ b/t/array_parameter.t @@ -43,9 +43,10 @@ use Path::Class (); ); has 'template_params' => ( - block => sub { + is => 'ro', + block => sub { my $s = shift; - return { + return { some_scalar => 'scalar', some_array => ['one', 'two'], other_array => ['four', 'five'], |