-
-
Notifications
You must be signed in to change notification settings - Fork 925
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Truffle] Fallback to SystemCallError when errno doesn't have a subclass
- Loading branch information
Brandon Fish
committed
Jul 1, 2016
1 parent
67c88d5
commit f1d5875
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
fails:SystemCallError.new accepts single Fixnum argument as errno | ||
fails:SystemCallError.new constructs the appropriate Errno class | ||
fails:SystemCallError.new returns an arity of -1 for the initialize method | ||
fails:SystemCallError#errno returns nil when no errno given | ||
fails:SystemCallError#errno returns the errno given as optional argument to new | ||
fails:SystemCallError#message returns the default message when no message is given | ||
fails:SystemCallError#message returns the message given as an argument to new | ||
fails:SystemCallError.new requires at least one argument | ||
fails:SystemCallError.new accepts an optional custom message preceding the errno | ||
fails:SystemCallError.new accepts an optional third argument specifying the location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters