update SurveyJSON test to fix perl 5.10 misleading errors
This commit is contained in:
parent
75da4c46bd
commit
ace2c81fca
1 changed files with 10 additions and 1 deletions
|
|
@ -687,6 +687,10 @@ cmp_deeply(
|
|||
text => '',
|
||||
type => 'question',
|
||||
}),
|
||||
superhashof({
|
||||
text => '',
|
||||
type => 'question',
|
||||
}),
|
||||
],
|
||||
}),
|
||||
'Added a question to section 2 to test removing it'
|
||||
|
|
@ -698,7 +702,12 @@ cmp_deeply(
|
|||
superhashof({
|
||||
title => 'Section 2',
|
||||
type => 'section',
|
||||
questions => [],
|
||||
questions => [
|
||||
superhashof({
|
||||
text => '',
|
||||
type => 'question',
|
||||
}),
|
||||
],
|
||||
}),
|
||||
'remove: removed a question'
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue