Skip to content

Commit

Permalink
test for StringHandle.isatty TT #1689
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@47809 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
NotFound authored and NotFound committed Jun 24, 2010
1 parent 505e827 commit f64168b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/pmc/stringhandle.t
Expand Up @@ -664,11 +664,16 @@ pir_output_is( <<'CODE', <<'OUTPUT', 'StringHandle is not a tty' );
.local pmc sh
.local int i
sh = new ['StringHandle']
# See TT #1689
i = sh.'is_tty'()
say i
i = sh.'isatty'()
say i
.end
CODE
0
0
OUTPUT

pir_output_is( <<"CODE", <<"OUTPUT", "readall() - utf8 on closed stringhandle" );
Expand Down

0 comments on commit f64168b

Please sign in to comment.