Skip to content

Commit

Permalink
initial baseline commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jflam committed Jun 25, 2008
0 parents commit 285ee1f
Show file tree
Hide file tree
Showing 397 changed files with 1,324 additions and 0 deletions.
1 change: 1 addition & 0 deletions 1.8/core/array/comparison_tags.txt
@@ -0,0 +1 @@
fails:Array#<=> calls <=> left to right and return first non-0 result
1 change: 1 addition & 0 deletions 1.8/core/array/delete_tags.txt
@@ -0,0 +1 @@
fails:Array#delete removes elements that are #== to object
2 changes: 2 additions & 0 deletions 1.8/core/array/element_set_tags.txt
@@ -0,0 +1,2 @@
fails:Array#[]= calls to_ary on its rhs argument for multi-element sets
fails:Array#[]= with [index, count] inserts other section in place defined by idx
1 change: 1 addition & 0 deletions 1.8/core/array/fetch_tags.txt
@@ -0,0 +1 @@
fails:Array#fetch passes the original index argument object to the block, not the converted Integer
3 changes: 3 additions & 0 deletions 1.8/core/array/fill_tags.txt
@@ -0,0 +1,3 @@
fails:Array#fill raises an ArgumentError if given an index and a negative count whose absolute value exceeds the index
fails:Array#fill raises an ArgumentError if the wrong number of arguments is given
fails:Array#fill raises an ArgumentError or RangeError for too-large sizes
1 change: 1 addition & 0 deletions 1.8/core/array/first_tags.txt
@@ -0,0 +1 @@
fails:Array#first does not return subclass instance when passed count on Array subclasses
3 changes: 3 additions & 0 deletions 1.8/core/array/flatten_tags.txt
@@ -0,0 +1,3 @@
fails:Array#flatten does not call flatten on elements
fails:Array#flatten flattens any element which responds to #to_ary, using the return value of said method
fails:Array#flatten returns subclass instance for Array subclasses
5 changes: 5 additions & 0 deletions 1.8/core/array/initialize_copy_tags.txt
@@ -0,0 +1,5 @@
fails:Array#initialize_copy replaces the elements with elements from other array
fails:Array#initialize_copy tries to convert the passed argument to an Array using #to_ary
fails:Array#initialize_copy checks whether the passed argument responds to #to_ary
fails:Array#initialize_copy does not call #to_ary on Array subclasses
fails:Array#initialize_copy is private
2 changes: 2 additions & 0 deletions 1.8/core/array/insert_tags.txt
@@ -0,0 +1,2 @@
fails:Array#insert tries to convert the passed position argument to an Integer using #to_int
fails:Array#insert checks whether the passed position argument responds to #to_int
4 changes: 4 additions & 0 deletions 1.8/core/array/join_tags.txt
@@ -0,0 +1,4 @@
fails:Array#join tries to convert the passed seperator to a String using #to_str
fails:Array#join checks whether the passed seperator responds to #to_str
fails:Array#join does not process the separator if the array is empty
fails:Array#join handles recursive arrays
1 change: 1 addition & 0 deletions 1.8/core/array/last_tags.txt
@@ -0,0 +1 @@
fails:Array#last does not return subclass instance on Array subclasses
1 change: 1 addition & 0 deletions 1.8/core/array/minus_tags.txt
@@ -0,0 +1 @@
fails:Array#- acts as if using an intermediate hash to collect values
1 change: 1 addition & 0 deletions 1.8/core/array/multiply_tags.txt
@@ -0,0 +1 @@
fails:Array#* returns subclass instance with Array subclasses
5 changes: 5 additions & 0 deletions 1.8/core/array/new_tags.txt
@@ -0,0 +1,5 @@
fails:Array.new raises an ArgumentError when passed a negative size
fails:Array.new tries to convert the passed arguments to Arrays using #to_ary
fails:Array.new checks whether the passed argument responds to #to_ary
fails:Array.new checks whether the passed argument responds to #to_int if they don't respond to #to_ary
fails:Array.new calls to_ary on an argument before to_int
71 changes: 71 additions & 0 deletions 1.8/core/array/pack_tags.txt
@@ -0,0 +1,71 @@
fails:Array#pack raises an ArgumentError with ('%')
fails:Array#pack raises an ArgumentError on empty array
fails:Array#pack skips everything till the end of schema string with ('#')
fails:Array#pack skips everything till the end of schema line with ('#')
fails:Array#pack returns packed bit-string descending order with ('B')
fails:Array#pack uses char codes to determine if bit is set or not with ('B')
fails:Array#pack conversion edge case: all zeros with ('B')
fails:Array#pack conversion edge case: all ones with ('B')
fails:Array#pack conversion edge case: left one with ('B')
fails:Array#pack conversion edge case: right one with ('B')
fails:Array#pack conversion edge case: edge sequences not in first char with ('B')
fails:Array#pack uses zeros if count is not multiple of 8 with ('B')
fails:Array#pack returns zero-char for each 2 of count that greater than string length with ('B')
fails:Array#pack returns extra zero char if count is odd and greater than string length with ('B')
fails:Array#pack starts new char if string is ended before char's 8 bits with ('B')
fails:Array#pack considers count = 1 if no explicit count it given with ('B')
fails:Array#pack returns empty string if count = 0 with ('B')
fails:Array#pack uses argument string length as count if count = * with ('B')
fails:Array#pack consumes only one array item with ('B')
fails:Array#pack raises a TypeError if corresponding array item is not String with ('B')
fails:Array#pack returns packed bit-string descending order with ('b')
fails:Array#pack conversion edge case: all zeros with ('b')
fails:Array#pack conversion edge case: all ones with ('b')
fails:Array#pack conversion edge case: left one with ('b')
fails:Array#pack conversion edge case: right one with ('b')
fails:Array#pack conversion edge case: edge sequences not in first char with ('b')
fails:Array#pack uses char codes to determine if bit is set or not with ('b')
fails:Array#pack uses zeros if count is not multiple of 8 with ('b')
fails:Array#pack returns zero-char for each 2 of count that greater than string length with ('b')
fails:Array#pack returns extra zero char if count is odd and greater than string length with ('b')
fails:Array#pack starts new char if argument string is ended before char's 8 bits with ('b')
fails:Array#pack considers count = 1 if no explicit count it given with ('b')
fails:Array#pack returns empty string if count = 0 with ('b')
fails:Array#pack uses argument string length as count if count = * with ('b')
fails:Array#pack consumes only one array item with ('b')
fails:Array#pack raises a TypeError if corresponding array item is not String with ('b')
fails:Array#pack raises an ArgumentError if count is greater than array elements left with ('C')
fails:Array#pack raises an ArgumentError if count is greater than array elements left with ('c')
fails:Array#pack encodes a high-nibble hexadecimal string with ('H')
fails:Array#pack encodes a low-nibble hexadecimal string with ('h')
fails:Array#pack enocdes string with Qouted Printable encoding with ('M')
fails:Array#pack doesn't encode new line chars with ('M')
fails:Array#pack always appends soft line break at the end of encoded string with ('M')
fails:Array#pack appends soft line break after each 72 chars + 1 encoded char in encoded string with ('M')
fails:Array#pack doesn't quote chars 32..60 and 62..126) with ('M')
fails:Array#pack quotes chars by adding equal sign and char's hex value with ('M')
fails:Array#pack quotes equal sign with ('M')
fails:Array#pack doesn't quote \t char with ('M')
fails:Array#pack returns empty string if source string is empty with ('M')
fails:Array#pack calls to_s on object to convert to string with ('M')
fails:Array#pack ignores count parameter with ('M')
fails:Array#pack ignores star parameter with ('M')
fails:Array#pack encodes 4 integers in network order with ('n4')
fails:Array#pack converts integers into UTF-8 encoded byte sequences with ('U')
fails:Array#pack encodes string with UU-encoding with ('u')
fails:Array#pack converts series of 3-char sequences into four 4-char sequences with ('u')
fails:Array#pack appends zero-chars to source string if string length is not multiple of 3 with ('u')
fails:Array#pack appends newline at the end of result string with ('u')
fails:Array#pack splits source string into lines with no more than 45 chars with ('u')
fails:Array#pack prepends encoded line length to each line with ('u')
fails:Array#pack encodes 6-bit char with another char starting from char 32 with ('u')
fails:Array#pack replaces spaces in encoded string with grave accent (`) char with ('u')
fails:Array#pack returns empty string if source string is empty with ('u')
fails:Array#pack raises a TypeError if corresponding array item is not string with ('u')
fails:Array#pack ignores count parameter with ('u')
fails:Array#pack ignores star parameter with ('u')
fails:Array#pack decreases result string by one char with ('X')
fails:Array#pack converts to BER-compressed integer with ('w')
fails:Array#pack with count decreases result string by count chars with ('X')
fails:Array#pack raises an ArgumentError if count greater than already generated string length with ('X')
fails:Array#pack reuses last array element as often as needed to complete the string
1 change: 1 addition & 0 deletions 1.8/core/array/reverse_tags.txt
@@ -0,0 +1 @@
fails:Array#reverse returns subclass instance on Array subclasses
1 change: 1 addition & 0 deletions 1.8/core/array/rindex_tags.txt
@@ -0,0 +1 @@
fails:Array#rindex does not fail when removing elements from block
5 changes: 5 additions & 0 deletions 1.8/core/array/sort_tags.txt
@@ -0,0 +1,5 @@
fails:Array#sort does not call #<=> on contained objects when invoked with a block
fails:Array#sort does not call #<=> on elements when invoked with a block even if Array is large (Rubinius #412)
fails:Array#sort completes when supplied a block that always returns the same result
fails:Array#sort! does not call #<=> on contained objects when invoked with a block
fails:Array#sort! does not call #<=> on elements when invoked with a block even if Array is large (Rubinius #412)
1 change: 1 addition & 0 deletions 1.8/core/array/to_a_tags.txt
@@ -0,0 +1 @@
fails:Array#to_a does not return subclass instance on Array subclasses
1 change: 1 addition & 0 deletions 1.8/core/array/values_at_tags.txt
@@ -0,0 +1 @@
fails:Array#values_at returns an array of elements in the ranges when passes ranges
1 change: 1 addition & 0 deletions 1.8/core/bignum/bit_and_tags.txt
@@ -0,0 +1 @@
fails:Bignum#& returns self bitwise AND other
1 change: 1 addition & 0 deletions 1.8/core/bignum/bit_or_tags.txt
@@ -0,0 +1 @@
fails:Bignum#| returns self bitwise OR other
1 change: 1 addition & 0 deletions 1.8/core/bignum/bit_xor_tags.txt
@@ -0,0 +1 @@
fails:Bignum#^ returns self bitwise EXCLUSIVE OR other
2 changes: 2 additions & 0 deletions 1.8/core/bignum/div_tags.txt
@@ -0,0 +1,2 @@
fails:Bignum#div returns a result of integer division of self by a float argument
fails:Bignum#div raises FloatDomainError if the argument is a float zero
1 change: 1 addition & 0 deletions 1.8/core/bignum/divmod_tags.txt
@@ -0,0 +1 @@
fails:Bignum#divmod returns an Array containing quotient and modulus obtained from dividing self by the given argument
1 change: 1 addition & 0 deletions 1.8/core/bignum/exponent_tags.txt
@@ -0,0 +1 @@
fails:Bignum#** returns self raised to other power
1 change: 1 addition & 0 deletions 1.8/core/bignum/left_shift_tags.txt
@@ -0,0 +1 @@
fails:Bignum#<< raises a RangeError when the given argument is a Bignum
1 change: 1 addition & 0 deletions 1.8/core/bignum/minus_tags.txt
@@ -0,0 +1 @@
fails:Bignum#- returns self minus the given Integer
2 changes: 2 additions & 0 deletions 1.8/core/bignum/modulo_tags.txt
@@ -0,0 +1,2 @@
fails:Bignum#% returns the modulus obtained from dividing self by the given argument
fails:Bignum#modulo returns the modulus obtained from dividing self by the given argument
1 change: 1 addition & 0 deletions 1.8/core/bignum/plus_tags.txt
@@ -0,0 +1 @@
fails:Bignum#+ returns self plus the given Integer
1 change: 1 addition & 0 deletions 1.8/core/bignum/remainder_tags.txt
@@ -0,0 +1 @@
fails:Bignum#remainder returns the remainder of dividing self by other
2 changes: 2 additions & 0 deletions 1.8/core/bignum/right_shift_tags.txt
@@ -0,0 +1,2 @@
fails:Bignum#>> returns 0 when the given argument is a Bignum and self is positive
fails:Bignum#>> returns -1 when the given argument is a Bignum and self is negative
2 changes: 2 additions & 0 deletions 1.8/core/binding/clone_tags.txt
@@ -0,0 +1,2 @@
fails:Binding#clone returns a copy of the Bind object
fails:Binding#clone is a shallow copy of the Bind object
2 changes: 2 additions & 0 deletions 1.8/core/binding/dup_tags.txt
@@ -0,0 +1,2 @@
fails:Binding#dup returns a copy of the Bind object
fails:Binding#dup is a shallow copy of the Bind object
2 changes: 2 additions & 0 deletions 1.8/core/class/new_tags.txt
@@ -0,0 +1,2 @@
fails:Class.new creates a class without a name
fails:Class.new raises a TypeError when given a non-Class
1 change: 1 addition & 0 deletions 1.8/core/class/superclass_tags.txt
@@ -0,0 +1 @@
fails:Class#superclass returns the superclass of self
2 changes: 2 additions & 0 deletions 1.8/core/comparable/equal_value_tags.txt
@@ -0,0 +1,2 @@
fails:Comparable#== calls #<=> on self with other and returns true if #<=> returns 0
fails:Comparable#== returns nil if calling #<=> on self raises a StandardError
4 changes: 4 additions & 0 deletions 1.8/core/continuation/continuation_tags.txt
@@ -0,0 +1,4 @@
fails:Creating a Continuation object must be done through Kernel.callcc, no .new
fails:Executing a Continuation using #call transfers execution to right after the Kernel.callcc block
fails:Executing a Continuation arguments given to #call (or nil) are returned by the Kernel.callcc block (as Array unless only one object)
fails:Executing a Continuation #[] is an alias for #call
1 change: 1 addition & 0 deletions 1.8/core/enumerable/grep_tags.txt
@@ -0,0 +1 @@
fails:Enumerable#grep grep with a block should return an array of elements === pattern passed through block
1 change: 1 addition & 0 deletions 1.8/core/enumerable/min_tags.txt
@@ -0,0 +1 @@
fails:Enumerable#min return the minimun when using a block rule
1 change: 1 addition & 0 deletions 1.8/core/enumerable/sort_tags.txt
@@ -0,0 +1 @@
fails:Enumerable#sort sort should throw a NoMethodError if elements do not define <=>
1 change: 1 addition & 0 deletions 1.8/core/env/clear_tags.txt
@@ -0,0 +1 @@
fails:ENV.clear deletes all environment variables
1 change: 1 addition & 0 deletions 1.8/core/env/element_reference_tags.txt
@@ -0,0 +1 @@
fails:ENV.[] returns the specified environment variable
1 change: 1 addition & 0 deletions 1.8/core/env/element_set_tags.txt
@@ -0,0 +1 @@
fails:ENV.[]= sets the environment variable to the given value
4 changes: 4 additions & 0 deletions 1.8/core/env/fetch_tags.txt
@@ -0,0 +1,4 @@
fails:ENV.fetch raises IndexError for an invalid key
fails:ENV.fetch provides the given default parameter
fails:ENV.fetch provides a default value from a block
fails:ENV.fetch warns on block and default parameter given
1 change: 1 addition & 0 deletions 1.8/core/env/invert_tags.txt
@@ -0,0 +1 @@
fails:ENV.invert returns a hash with ENV.keys as the values and vice versa
1 change: 1 addition & 0 deletions 1.8/core/env/member_tags.txt
@@ -0,0 +1 @@
fails:ENV.member? returns true if ENV has the key
4 changes: 4 additions & 0 deletions 1.8/core/env/reject_tags.txt
@@ -0,0 +1,4 @@
fails:ENV.reject! returns itself or nil
fails:ENV.reject rejects entries based on key
fails:ENV.reject rejects entries based on value
fails:ENV.reject returns a Hash
1 change: 1 addition & 0 deletions 1.8/core/env/replace_tags.txt
@@ -0,0 +1 @@
fails:ENV.replace replaces ENV with a Hash
1 change: 1 addition & 0 deletions 1.8/core/env/store_tags.txt
@@ -0,0 +1 @@
fails:ENV.store sets the environment variable to the given value
1 change: 1 addition & 0 deletions 1.8/core/env/update_tags.txt
@@ -0,0 +1 @@
fails:ENV.update yields key, the old value and the new value when replacing entries
1 change: 1 addition & 0 deletions 1.8/core/exception/name_error_tags.txt
@@ -0,0 +1 @@
fails:NameError.new NameError.new should take optional name argument
3 changes: 3 additions & 0 deletions 1.8/core/exception/no_method_error_tags.txt
@@ -0,0 +1,3 @@
fails:NoMethodError.new allows passing method args
fails:NoMethodError#args returns an empty array if the caller method had no arguments
fails:NoMethodError#args returns an array with the same elements as passed to the method
6 changes: 6 additions & 0 deletions 1.8/core/exception/system_call_error_tags.txt
@@ -0,0 +1,6 @@
fails:SystemCallError.new takes an optional errno argument
fails:SystemCallError.new accepts single Fixnum argument as errno
fails:SystemCallError#errno returns nil when no errno given
fails:SystemCallError#errno returns the errno given as optional argument to new
fails:SystemCallError#message should return default message when no message given
fails:SystemCallError#message returns the message given as an argument to new
4 changes: 4 additions & 0 deletions 1.8/core/file/basename_tags.txt
@@ -0,0 +1,4 @@
fails:File.basename return the last component of the filename
fails:File.basename return the basename for unix suffix
fails:File.basename return the basename for windows
fails:File.basename return basename windows forward slash
1 change: 1 addition & 0 deletions 1.8/core/file/blockdev_tags.txt
@@ -0,0 +1 @@
fails:File.blockdev? returns true/false depending if the named file is a block device
1 change: 1 addition & 0 deletions 1.8/core/file/chardev_tags.txt
@@ -0,0 +1 @@
fails:File.chardev? returns true/false depending if the named file is a char device
11 changes: 11 additions & 0 deletions 1.8/core/file/chmod_tags.txt
@@ -0,0 +1,11 @@
fails:File#chmod returns 0 if successful
fails:File#chmod always succeeds with any numeric values
fails:File#chmod invokes to_int on non-integer argument
fails:File#chmod with '0444' makes file readable and executable but not writable
fails:File#chmod with '0644' makes file readable and writable and also executable
fails:File.chmod returns the number of files modified
fails:File.chmod throws a TypeError if the given path is not coercable into a string
fails:File.chmod invokes to_int on non-integer argument
fails:File.chmod invokes to_str on non-string file names
fails:File.chmod with '0444' makes file readable and executable but not writable
fails:File.chmod with '0644' makes file readable and writable and also executable
5 changes: 5 additions & 0 deletions 1.8/core/file/chown_tags.txt
@@ -0,0 +1,5 @@
fails:File.chown does not modify the owner id of the file
fails:File.chown does not modify the group id of the file
fails:File#chown does not modify the owner id of the file
fails:File#chown does not modify the group id of the file
fails:File#chown returns 0
1 change: 1 addition & 0 deletions 1.8/core/file/directory_tags.txt
@@ -0,0 +1 @@
fails:File.directory? raises a TypeError if not passed a String type
6 changes: 6 additions & 0 deletions 1.8/core/file/dirname_tags.txt
@@ -0,0 +1,6 @@
fails:File.dirname dirname should return all the components of filename except the last one
fails:File.dirname return all the components of filename except the last one (edge cases)
fails:File.dirname raises a TypeError if not passed a String type
fails:File.dirname return the return all the components of filename except the last one (Windows format)
fails:File.dirname return the return all the components of filename except the last one (windows unc)
fails:File.dirname return the return all the components of filename except the last one (forward_slash)
3 changes: 3 additions & 0 deletions 1.8/core/file/executable_real_tags.txt
@@ -0,0 +1,3 @@
fails:File.executable_real? returns true if named file is readable by the real user id of the process, otherwise false
fails:File.executable_real? raises a TypeError if not passed a String type
fails:File.executable_real? returns false if the file does not exist
2 changes: 2 additions & 0 deletions 1.8/core/file/executable_tags.txt
@@ -0,0 +1,2 @@
fails:File.executable? raises a TypeError if not passed a String type
fails:File.executable? returns false if the file does not exist
1 change: 1 addition & 0 deletions 1.8/core/file/exist_tags.txt
@@ -0,0 +1 @@
fails:File.exist? raises a TypeError if not passed a String type
1 change: 1 addition & 0 deletions 1.8/core/file/exists_tags.txt
@@ -0,0 +1 @@
fails:File.exists? raises a TypeError if not passed a String type
6 changes: 6 additions & 0 deletions 1.8/core/file/expand_path_tags.txt
@@ -0,0 +1,6 @@
fails:File.expand_path converts a pathname to an absolute pathname
fails:File.expand_path converts a pathname to an absolute pathname, Ruby-Talk:18512
fails:File.expand_path converts a pathname to an absolute pathname, using a complete path
fails:File.expand_path converts a pathname to an absolute pathname, using ~ (home) as base
fails:File.expand_path raises an ArgumentError is not passed one or two arguments
fails:File.expand_path raises a TypeError if not passed a String type
1 change: 1 addition & 0 deletions 1.8/core/file/extname_tags.txt
@@ -0,0 +1 @@
fails:File.extname returns the extension (the portion of file name in path after the period).
1 change: 1 addition & 0 deletions 1.8/core/file/file_tags.txt
@@ -0,0 +1 @@
fails:File.file? raises a TypeError if not passed a String type
1 change: 1 addition & 0 deletions 1.8/core/file/flock_tags.txt
@@ -0,0 +1 @@
fails:File#flock should lock a file
20 changes: 20 additions & 0 deletions 1.8/core/file/fnmatch_tags.txt
@@ -0,0 +1,20 @@
fails:File.fnmatch does not match characters outside of the range of the bracket expresion
fails:File.fnmatch matches ranges of characters using exclusive bracket expresions (e.g. [^t] or [!t])
fails:File.fnmatch matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE
fails:File.fnmatch does not match '/' characters with ? or * when flags includes FNM_PATHNAME
fails:File.fnmatch does not match '/' characters inside bracket expressions when flags includes FNM_PATHNAME
fails:File.fnmatch does not match leading periods in filenames with wildcards by default
fails:File.fnmatch matches multiple directories with ** when flags includes File::FNM_PATHNAME
fails:File.fnmatch raises a TypeError if the first and second arguments are not string-like
fails:File.fnmatch raises a TypeError if the third argument is not an Integer
fails:File.fnmatch does not raise a TypeError if the third argument can be coerced to an Integer
fails:File.fnmatch? does not match characters outside of the range of the bracket expresion
fails:File.fnmatch? matches ranges of characters using exclusive bracket expresions (e.g. [^t] or [!t])
fails:File.fnmatch? matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE
fails:File.fnmatch? does not match '/' characters with ? or * when flags includes FNM_PATHNAME
fails:File.fnmatch? does not match '/' characters inside bracket expressions when flags includes FNM_PATHNAME
fails:File.fnmatch? does not match leading periods in filenames with wildcards by default
fails:File.fnmatch? matches multiple directories with ** when flags includes File::FNM_PATHNAME
fails:File.fnmatch? raises a TypeError if the first and second arguments are not string-like
fails:File.fnmatch? raises a TypeError if the third argument is not an Integer
fails:File.fnmatch? does not raise a TypeError if the third argument can be coerced to an Integer
2 changes: 2 additions & 0 deletions 1.8/core/file/grpowned_tags.txt
@@ -0,0 +1,2 @@
fails:File.grpowned? return false if the file exist
fails:File.grpowned? returns false if file the does not exist
5 changes: 5 additions & 0 deletions 1.8/core/file/identical_tags.txt
@@ -0,0 +1,5 @@
fails:File.identical? return a Boolean class
fails:File.identical? return true if they are identical
fails:File.identical? raises an ArgumentError if not passed two arguments
fails:File.identical? raises a TypeError if not passed String types
fails:File.identical? identical? should return true if both named files are identical
1 change: 1 addition & 0 deletions 1.8/core/file/inspect_tags.txt
@@ -0,0 +1 @@
fails:File#inspect returns string that contains 'closed' when invoked on closed file
7 changes: 7 additions & 0 deletions 1.8/core/file/join_tags.txt
@@ -0,0 +1,7 @@
fails:File.join joins parts using File::ALT_SEPARATOR on windows
fails:File.join handles leading parts edge cases
fails:File.join handles trailing parts edge cases
fails:File.join handles middle parts edge cases
fails:File.join handles recursive arrays
fails:File.join raises a TypeError exception when args are nil
fails:File.join calls #to_str
4 changes: 4 additions & 0 deletions 1.8/core/file/lstat_tags.txt
@@ -0,0 +1,4 @@
fails:File.lstat returns a File::Stat object if the given file exists
fails:File.lstat should be able to use the instance methods
fails:File.lstat raises an Errno::ENOENT if the file does not exist
fails:File.lstat returns a File::Stat object with symlink properties for a symlink
3 changes: 3 additions & 0 deletions 1.8/core/file/mtime_tags.txt
@@ -0,0 +1,3 @@
fails:File.mtime returns the modification Time of the file
fails:File.mtime raises an Errno::ENOENT exception if the file is not found
fails:File#mtime returns the modification Time of the file

0 comments on commit 285ee1f

Please sign in to comment.