Skip to content

Commit cbda59c

Browse files
author
lukec
committed
fix get_boolean_array
git-svn-id: http://svn.openqa.org/svn/selenium-rc/trunk/clients/perl@1742 0891141a-5dea-0310-ad27-ebc607f31677
1 parent cfed107 commit cbda59c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Changes

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Revision history for Perl extension Test::WWW::Selenium.
22

33
1.12 -
44
- refactor unit tests to use Test::Mock::LWP
5+
- fix bug in get_boolean_array - thanks to Ilya Averyanov
56

67
1.11 - Thu Jan 4 19:53:18 PST 2007
78
- don't stop a stopped session

todo.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
- bundle test modules with distribution M::I::Bundle
22

3+
- add tests for get_boolean_array()
4+
35
- WWW::Selenium
46
- check that browser_url is sane
57

util/create_www_selenium.pl

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ package WWW::Selenium;
7070
use strict;
7171
use warnings;
7272
73-
our $VERSION = '0.91';
73+
our $VERSION = '0.911';
7474
7575
=head1 NAME
7676
@@ -359,7 +359,7 @@ sub get_boolean_array {
359359
next;
360360
}
361361
if ($result[$i] eq "false") {
362-
push (@boolarr, 1);
362+
push (@boolarr, 0);
363363
next;
364364
}
365365
die "result is neither 'true' nor 'false': ". $result[$i];

0 commit comments

Comments
 (0)