Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update test to be more verbose
  • Loading branch information
David Christensen committed Jan 17, 2017
1 parent 25fb722 commit 35e5fe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/robot_ua.t
Expand Up @@ -50,11 +50,11 @@ ok( $Global::NotRobotUA, "NotRobotUA regex exists" );

# check various hard-coded UA strings that should/shouldn't get flagged as robots
for my $ua (@robot_uas) {
is(check_is_robot($ua), 1);
ok(check_is_robot($ua), "flagged as robot: $ua");
}

for my $ua (@not_robot_uas) {
is(check_is_robot($ua), 0);
ok(!check_is_robot($ua), "not flagged as robot: $ua");
}

done_testing();
Expand Down

0 comments on commit 35e5fe2

Please sign in to comment.