Skip to content

Commit

Permalink
fixing geo distance test to not check so many decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
njlg committed Sep 17, 2015
1 parent c4b0e94 commit 07fcf93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/geo.t
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ my $point2 = r->point( -117.220406, 32.719464 );
$res = r->distance( $point1, $point2, { unit => 'km' } )->run($conn);

is $res->type, 1, 'Correct response type';
is $res->response, '734.125249602184', 'Correct response';
like $res->response, qr/734.125/, 'Correct response';

# fill
r->table('geo')->insert(
Expand Down

0 comments on commit 07fcf93

Please sign in to comment.