Skip to content

Commit

Permalink
[Truffle] Untag passing Dir.glob and Dir#element_reference specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed May 1, 2015
1 parent ef1fc91 commit 6c64413
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 112 deletions.
53 changes: 3 additions & 50 deletions spec/truffle/tags/core/dir/element_reference_tags.txt
Original file line number Diff line number Diff line change
@@ -1,51 +1,4 @@
fails:Dir.[] raises an Encoding::CompatibilityError if the argument encoding is not compatible with US-ASCII
fails:Dir.[] calls #to_path to convert a pattern
fails:Dir.[] splits the string on \0 if there is only one string given
fails:Dir.[] matches non-dotfiles with '*'
fails:Dir.[] returns empty array when empty pattern provided
fails:Dir.[] matches regexp special +
fails:Dir.[] matches regexp special *
fails:Dir.[] matches regexp special ?
fails:Dir.[] matches regexp special |
fails:Dir.[] matches regexp special ^
fails:Dir.[] matches regexp special $
fails:Dir.[] matches regexp special (
fails:Dir.[] matches regexp special )
fails:Dir.[] matches regexp special [
fails:Dir.[] matches regexp special ]
fails:Dir.[] matches regexp special {
fails:Dir.[] matches regexp special }
fails:Dir.[] matches paths with glob patterns
fails:Dir.[] matches dotfiles with '.*'
fails:Dir.[] matches non-dotfiles with '*<non-special characters>'
fails:Dir.[] matches dotfiles with '.*<non-special characters>'
fails:Dir.[] matches files with any ending with '<non-special characters>*'
fails:Dir.[] matches files with any middle with '<non-special characters>*<non-special characters>'
fails:Dir.[] handles directories with globs
fails:Dir.[] matches files with multiple '*' special characters
fails:Dir.[] matches non-dotfiles in the current directory with '**'
fails:Dir.[] matches dotfiles in the current directory with '.**'
fails:Dir.[] recursively matches any nondot subdirectories with '**/'
fails:Dir.[] recursively matches any subdirectories including ./ and ../ with '.**/'
fails:Dir.[] matches a single character except leading '.' with '?'
fails:Dir.[] accepts multiple '?' characters in a pattern
fails:Dir.[] matches any characters in a set with '[<characters>]'
fails:Dir.[] matches any characters in a range with '[<character>-<character>]'
fails:Dir.[] matches any characters except those in a set with '[^<characters>]'
fails:Dir.[] matches any characters except those in a range with '[^<character>-<character]'
fails:Dir.[] matches any one of the strings in a set with '{<string>,<other>,...}'
fails:Dir.[] matches a set '{<string>,<other>,...}' which also uses a glob
fails:Dir.[] accepts string sets with empty strings with {<string>,,<other>}
fails:Dir.[] matches dot or non-dotfiles with '{,.}*'
fails:Dir.[] respects the order of {} expressions, expanding left most first
fails:Dir.[] respects the optional nested {} expressions
fails:Dir.[] matches special characters by escaping with a backslash with '\<character>'
fails:Dir.[] recursively matches directories with '**/<characters>'
fails:Dir.[] preserves the separator between directory components
fails:Dir.[] ignores matching through directories that doen't exist
fails:Dir.[] ignores matching only directories under an nonexistant path
fails:Dir.[] matches UTF-8 paths
fails:Dir.[] calls #to_path to convert multiple patterns
fails:Dir.[] matches multiple recursives
fails:Dir.[] ignores symlinks
fails:Dir.[] returns Strings in the encoding of the pattern
fails:Dir.[] recursively matches directories with '**/<characters>'
fails:Dir.[] recursively matches any nondot subdirectories with '**/'
fails:Dir.[] matches paths with glob patterns
67 changes: 5 additions & 62 deletions spec/truffle/tags/core/dir/glob_tags.txt
Original file line number Diff line number Diff line change
@@ -1,64 +1,7 @@
fails:Dir.glob raises an Encoding::CompatibilityError if the argument encoding is not compatible with US-ASCII
fails:Dir.glob calls #to_path to convert a pattern
fails:Dir.glob splits the string on \0 if there is only one string given
fails:Dir.glob matches non-dotfiles with '*'
fails:Dir.glob returns empty array when empty pattern provided
fails:Dir.glob matches regexp special +
fails:Dir.glob matches regexp special *
fails:Dir.glob matches regexp special ?
fails:Dir.glob matches regexp special |
fails:Dir.glob matches regexp special ^
fails:Dir.glob matches regexp special $
fails:Dir.glob matches regexp special (
fails:Dir.glob matches regexp special )
fails:Dir.glob matches regexp special [
fails:Dir.glob matches regexp special ]
fails:Dir.glob matches regexp special {
fails:Dir.glob matches regexp special }
fails:Dir.glob matches paths with glob patterns
fails:Dir.glob matches dotfiles with '.*'
fails:Dir.glob matches non-dotfiles with '*<non-special characters>'
fails:Dir.glob matches dotfiles with '.*<non-special characters>'
fails:Dir.glob matches files with any ending with '<non-special characters>*'
fails:Dir.glob matches files with any middle with '<non-special characters>*<non-special characters>'
fails:Dir.glob handles directories with globs
fails:Dir.glob matches files with multiple '*' special characters
fails:Dir.glob matches non-dotfiles in the current directory with '**'
fails:Dir.glob matches dotfiles in the current directory with '.**'
fails:Dir.glob recursively matches any nondot subdirectories with '**/'
fails:Dir.glob recursively matches any subdirectories including ./ and ../ with '.**/'
fails:Dir.glob matches a single character except leading '.' with '?'
fails:Dir.glob accepts multiple '?' characters in a pattern
fails:Dir.glob matches any characters in a set with '[<characters>]'
fails:Dir.glob matches any characters in a range with '[<character>-<character>]'
fails:Dir.glob matches any characters except those in a set with '[^<characters>]'
fails:Dir.glob matches any characters except those in a range with '[^<character>-<character]'
fails:Dir.glob matches any one of the strings in a set with '{<string>,<other>,...}'
fails:Dir.glob matches a set '{<string>,<other>,...}' which also uses a glob
fails:Dir.glob accepts string sets with empty strings with {<string>,,<other>}
fails:Dir.glob matches dot or non-dotfiles with '{,.}*'
fails:Dir.glob respects the order of {} expressions, expanding left most first
fails:Dir.glob respects the optional nested {} expressions
fails:Dir.glob matches special characters by escaping with a backslash with '\<character>'
fails:Dir.glob recursively matches directories with '**/<characters>'
fails:Dir.glob preserves the separator between directory components
fails:Dir.glob ignores matching through directories that doen't exist
fails:Dir.glob ignores matching only directories under an nonexistant path
fails:Dir.glob matches UTF-8 paths
fails:Dir.glob matches multiple recursives
fails:Dir.glob ignores symlinks
fails:Dir.glob can take an array of patterns
fails:Dir.glob calls #to_path to convert multiple patterns
fails:Dir.glob matches both dot and non-dotfiles with '*' and option File::FNM_DOTMATCH
fails:Dir.glob matches files with any beginning with '*<non-special characters>' and option File::FNM_DOTMATCH
fails:Dir.glob matches any files in the current directory with '**' and option File::FNM_DOTMATCH
fails:Dir.glob handles infinite directory wildcards
fails:Dir.glob recursively matches any subdirectories except './' or '../' with '**/' from the current directory and option File::FNM_DOTMATCH
fails:Dir.glob recursively matches any subdirectories except './' or '../' with '**/' and option File::FNM_DOTMATCH
fails:Dir.glob matches a list of paths by concatenating their individual results
fails:Dir.glob accepts a block and yields it with each elements
fails:Dir.glob ignores non-dirs when traversing recursively
fails:Dir.glob matches nothing when given an empty list of paths
fails:Dir.glob handles infinite directory wildcards
fails:Dir.glob matches the literal character '\' with option File::FNM_NOESCAPE
fails:Dir.glob returns nil for directories current user has no permission to read
fails:Dir.glob with encoding returns Strings in the encoding of the pattern
fails:Dir.glob matches UTF-8 paths
fails:Dir.glob recursively matches directories with '**/<characters>'
fails:Dir.glob recursively matches any nondot subdirectories with '**/'
fails:Dir.glob matches paths with glob patterns

0 comments on commit 6c64413

Please sign in to comment.