Skip to content

Commit

Permalink
Fix typo in error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Jun 13, 2017
1 parent e1563a7 commit 8d6a911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/IO/Pipe.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ my class IO::Pipe is IO::Handle {
result
}
else {
die "This pipe was opened is for writing, not reading"
die "This pipe was opened for writing, not reading"
}
}

Expand All @@ -38,7 +38,7 @@ my class IO::Pipe is IO::Handle {
method write-internal($data) {
$!on-write
?? $!on-write($data)
!! die "This pipe was opened is for reading, not writing"
!! die "This pipe was opened for reading, not writing"
}

method flush(IO::Handle:D: --> True) { #`(No buffering) }
Expand Down

0 comments on commit 8d6a911

Please sign in to comment.