Skip to content

Commit

Permalink
Fix test making use of the pub handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
clkao committed Apr 23, 2010
1 parent 5f8f98a commit d8080cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/mxhr.t
Expand Up @@ -60,7 +60,8 @@ test_tcp(
return;
}
elsif ($cnt == 2) {
$http_guard = http_get "http://localhost:$port/pub?foo1=bar&foo2=baz",
my $data = JSON::to_json({foo1 => 'bar', foo2 => 'baz'});
$http_guard = http_get "http://localhost:$port/pub?message=$data",
sub {
my ($body, $hdr) = @_;
diag $body;
Expand Down

0 comments on commit d8080cc

Please sign in to comment.