This repository has been archived by the owner on Mar 26, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
13 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
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,13 +1,3 @@ | ||
fails:Kernel#load | ||
fails:Kernel#load is a private method | ||
fails:Kernel#load loads a .rb from a relative path and returns true | ||
fails:Kernel#load does not expand/resolve qualified files against $LOAD_PATH | ||
fails:Kernel#load allows unqualified files to contain path information (just not in the beginning) | ||
fails:Kernel#load does not add the loaded file to $LOADED_FEATURES | ||
fails:Kernel#load produces __FILE__ as the given filename and __LINE__ as the source line number | ||
fails:Kernel#load re-evaluates the file each time it is loaded | ||
fails:Kernel#load loads the file even if it has already been #required | ||
fails:Kernel#load does not cause #require on the same filename to fail | ||
fails:Kernel#load raises a LoadError if filename given without its extension | ||
fails:Kernel#load only accepts strings as the filename argument | ||
fails:Shell expansion in Kernel#load expands a preceding ~/ to the user's home directory to use as path |
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 +1,15 @@ | ||
fails:Shell expansion in Kernel#require adds the path to $LOADED_FEATURES | ||
fails:Kernel#require is a private method | ||
fails:Kernel#require does not expand/resolve qualified files against $LOAD_PATH | ||
fails:Kernel#require appends a file with no extension with .rb/.<ext> in that order to locate file | ||
fails:Kernel#require prefers to use .rb over .<ext> if given non-extensioned file and both exist | ||
fails:Kernel#require will load file.rb when given 'file' if it exists even if file.<ext> is loaded | ||
fails:Kernel#require appends any non-ruby extensioned file with .rb/.<ext> in that order to locate file | ||
fails:Kernel#require produces __FILE__ as the given filename and __LINE__ as the source line number | ||
fails:Kernel#require stores the loaded file in $LOADED_FEATURES | ||
fails:Kernel#require stores a non-extensioned file with its located suffix | ||
fails:Kernel#require bases the filename in $LOADED_FEATURES on the path given, not just basename | ||
fails:Kernel#require will not load the same file twice, returns false instead | ||
fails:Kernel#require checks $LOADED_FEATURES to see whether file is already loaded | ||
fails:Kernel#require raises a LoadError if the file can't be found | ||
fails:Kernel#require does not infinite loop on an rb file that requires itself |