diff options
author | Matteo Pasotti <matteo.pasotti@gmail.com> | 2015-01-12 18:09:49 +0100 |
---|---|---|
committer | Matteo Pasotti <matteo.pasotti@gmail.com> | 2015-01-12 18:09:49 +0100 |
commit | 7f1661ee969daf84f2f0b281e6483d23204baa15 (patch) | |
tree | ec25583ffe22c6142032c774d0356345ce374124 /t | |
parent | c1b2f40f7348a1aee97de4a4b0be6472b63a0a1b (diff) | |
download | colin-keep-7f1661ee969daf84f2f0b281e6483d23204baa15.tar colin-keep-7f1661ee969daf84f2f0b281e6483d23204baa15.tar.gz colin-keep-7f1661ee969daf84f2f0b281e6483d23204baa15.tar.bz2 colin-keep-7f1661ee969daf84f2f0b281e6483d23204baa15.tar.xz colin-keep-7f1661ee969daf84f2f0b281e6483d23204baa15.zip |
improved test for ask_multiple_fromList
Diffstat (limited to 't')
-rw-r--r-- | t/03-Shared_GUI.t | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/t/03-Shared_GUI.t b/t/03-Shared_GUI.t index edc15a0..1bda166 100644 --- a/t/03-Shared_GUI.t +++ b/t/03-Shared_GUI.t @@ -45,11 +45,16 @@ SKIP: { list => [ map { { - id => $_, - text=>'item 1', - val => \$_ + id => $_->{id}, + text=>$_->{text}, + val => \$_->{val} }, - } (1,0,1,0)], + } ( + {id => "a",val=>1,text=>"Item 1"}, + {id => "b",val=>0, text=>"Item 2"}, + {id => "c",val=>1,text=>"Item 3"}, + {id => "d",val=>0,text=>"Item 4"} + )], }), 'ask_multiple_fromList'); diag "ask_multiple_fromList got: < " . join(' - ', @${mul_selection}) . " >"; |