Refactored SurveyJSON's new, freeze and addObject for readability
This commit is contained in:
parent
3a4f90aef6
commit
6d10570fdb
2 changed files with 62 additions and 43 deletions
|
|
@ -189,7 +189,7 @@ cmp_deeply(
|
|||
lives_ok
|
||||
{
|
||||
my $foo = WebGUI::Asset::Wobject::Survey::SurveyJSON->new(
|
||||
qq!{ "survey" : "on 16\x{201d} hand-crocheted Cord" }!,
|
||||
encode_json({survey => "on 16\x{201d}" }),
|
||||
$session->log
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue