Permalink
Browse files

Fix test to look for the correct error

  • Loading branch information...
1 parent 251ec62 commit 00fb541d05d0a21151d8585134931228d3b22e49 @leto leto committed Nov 8, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 t/op/calling.t
View
@@ -257,7 +257,7 @@ ok 3
back
OUTPUT
-pir_output_is( <<'CODE', <<'OUTPUT', "return :flat" );
+pir_error_output_like( <<'CODE', qr/Invalid operation on null string/, "return :flat" );
.sub main :main
.local string s, r
.local pmc arr
@@ -278,8 +278,6 @@ pir_output_is( <<'CODE', <<'OUTPUT', "return :flat" );
.return(arr :flat )
.end
CODE
-FOO
-OUTPUT
pir_output_is( <<'CODE', <<'OUTPUT', "use it in PIR" );
.sub main :main

0 comments on commit 00fb541

Please sign in to comment.