Skip to content

Commit 6c64413

Browse files
committed
[Truffle] Untag passing Dir.glob and Dir#element_reference specs.
1 parent ef1fc91 commit 6c64413

File tree

2 files changed

+8
-112
lines changed

2 files changed

+8
-112
lines changed
Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,4 @@
1-
fails:Dir.[] raises an Encoding::CompatibilityError if the argument encoding is not compatible with US-ASCII
2-
fails:Dir.[] calls #to_path to convert a pattern
3-
fails:Dir.[] splits the string on \0 if there is only one string given
4-
fails:Dir.[] matches non-dotfiles with '*'
5-
fails:Dir.[] returns empty array when empty pattern provided
6-
fails:Dir.[] matches regexp special +
7-
fails:Dir.[] matches regexp special *
8-
fails:Dir.[] matches regexp special ?
9-
fails:Dir.[] matches regexp special |
10-
fails:Dir.[] matches regexp special ^
11-
fails:Dir.[] matches regexp special $
12-
fails:Dir.[] matches regexp special (
13-
fails:Dir.[] matches regexp special )
14-
fails:Dir.[] matches regexp special [
15-
fails:Dir.[] matches regexp special ]
16-
fails:Dir.[] matches regexp special {
17-
fails:Dir.[] matches regexp special }
18-
fails:Dir.[] matches paths with glob patterns
19-
fails:Dir.[] matches dotfiles with '.*'
20-
fails:Dir.[] matches non-dotfiles with '*<non-special characters>'
21-
fails:Dir.[] matches dotfiles with '.*<non-special characters>'
22-
fails:Dir.[] matches files with any ending with '<non-special characters>*'
23-
fails:Dir.[] matches files with any middle with '<non-special characters>*<non-special characters>'
24-
fails:Dir.[] handles directories with globs
25-
fails:Dir.[] matches files with multiple '*' special characters
26-
fails:Dir.[] matches non-dotfiles in the current directory with '**'
27-
fails:Dir.[] matches dotfiles in the current directory with '.**'
28-
fails:Dir.[] recursively matches any nondot subdirectories with '**/'
29-
fails:Dir.[] recursively matches any subdirectories including ./ and ../ with '.**/'
30-
fails:Dir.[] matches a single character except leading '.' with '?'
31-
fails:Dir.[] accepts multiple '?' characters in a pattern
32-
fails:Dir.[] matches any characters in a set with '[<characters>]'
33-
fails:Dir.[] matches any characters in a range with '[<character>-<character>]'
34-
fails:Dir.[] matches any characters except those in a set with '[^<characters>]'
35-
fails:Dir.[] matches any characters except those in a range with '[^<character>-<character]'
36-
fails:Dir.[] matches any one of the strings in a set with '{<string>,<other>,...}'
37-
fails:Dir.[] matches a set '{<string>,<other>,...}' which also uses a glob
38-
fails:Dir.[] accepts string sets with empty strings with {<string>,,<other>}
39-
fails:Dir.[] matches dot or non-dotfiles with '{,.}*'
40-
fails:Dir.[] respects the order of {} expressions, expanding left most first
41-
fails:Dir.[] respects the optional nested {} expressions
42-
fails:Dir.[] matches special characters by escaping with a backslash with '\<character>'
43-
fails:Dir.[] recursively matches directories with '**/<characters>'
44-
fails:Dir.[] preserves the separator between directory components
45-
fails:Dir.[] ignores matching through directories that doen't exist
46-
fails:Dir.[] ignores matching only directories under an nonexistant path
471
fails:Dir.[] matches UTF-8 paths
48-
fails:Dir.[] calls #to_path to convert multiple patterns
49-
fails:Dir.[] matches multiple recursives
50-
fails:Dir.[] ignores symlinks
51-
fails:Dir.[] returns Strings in the encoding of the pattern
2+
fails:Dir.[] recursively matches directories with '**/<characters>'
3+
fails:Dir.[] recursively matches any nondot subdirectories with '**/'
4+
fails:Dir.[] matches paths with glob patterns
Lines changed: 5 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,7 @@
1-
fails:Dir.glob raises an Encoding::CompatibilityError if the argument encoding is not compatible with US-ASCII
2-
fails:Dir.glob calls #to_path to convert a pattern
3-
fails:Dir.glob splits the string on \0 if there is only one string given
4-
fails:Dir.glob matches non-dotfiles with '*'
5-
fails:Dir.glob returns empty array when empty pattern provided
6-
fails:Dir.glob matches regexp special +
7-
fails:Dir.glob matches regexp special *
8-
fails:Dir.glob matches regexp special ?
9-
fails:Dir.glob matches regexp special |
10-
fails:Dir.glob matches regexp special ^
11-
fails:Dir.glob matches regexp special $
12-
fails:Dir.glob matches regexp special (
13-
fails:Dir.glob matches regexp special )
14-
fails:Dir.glob matches regexp special [
15-
fails:Dir.glob matches regexp special ]
16-
fails:Dir.glob matches regexp special {
17-
fails:Dir.glob matches regexp special }
18-
fails:Dir.glob matches paths with glob patterns
19-
fails:Dir.glob matches dotfiles with '.*'
20-
fails:Dir.glob matches non-dotfiles with '*<non-special characters>'
21-
fails:Dir.glob matches dotfiles with '.*<non-special characters>'
22-
fails:Dir.glob matches files with any ending with '<non-special characters>*'
23-
fails:Dir.glob matches files with any middle with '<non-special characters>*<non-special characters>'
24-
fails:Dir.glob handles directories with globs
25-
fails:Dir.glob matches files with multiple '*' special characters
26-
fails:Dir.glob matches non-dotfiles in the current directory with '**'
27-
fails:Dir.glob matches dotfiles in the current directory with '.**'
28-
fails:Dir.glob recursively matches any nondot subdirectories with '**/'
29-
fails:Dir.glob recursively matches any subdirectories including ./ and ../ with '.**/'
30-
fails:Dir.glob matches a single character except leading '.' with '?'
31-
fails:Dir.glob accepts multiple '?' characters in a pattern
32-
fails:Dir.glob matches any characters in a set with '[<characters>]'
33-
fails:Dir.glob matches any characters in a range with '[<character>-<character>]'
34-
fails:Dir.glob matches any characters except those in a set with '[^<characters>]'
35-
fails:Dir.glob matches any characters except those in a range with '[^<character>-<character]'
36-
fails:Dir.glob matches any one of the strings in a set with '{<string>,<other>,...}'
37-
fails:Dir.glob matches a set '{<string>,<other>,...}' which also uses a glob
38-
fails:Dir.glob accepts string sets with empty strings with {<string>,,<other>}
39-
fails:Dir.glob matches dot or non-dotfiles with '{,.}*'
40-
fails:Dir.glob respects the order of {} expressions, expanding left most first
41-
fails:Dir.glob respects the optional nested {} expressions
42-
fails:Dir.glob matches special characters by escaping with a backslash with '\<character>'
43-
fails:Dir.glob recursively matches directories with '**/<characters>'
44-
fails:Dir.glob preserves the separator between directory components
45-
fails:Dir.glob ignores matching through directories that doen't exist
46-
fails:Dir.glob ignores matching only directories under an nonexistant path
47-
fails:Dir.glob matches UTF-8 paths
48-
fails:Dir.glob matches multiple recursives
49-
fails:Dir.glob ignores symlinks
50-
fails:Dir.glob can take an array of patterns
51-
fails:Dir.glob calls #to_path to convert multiple patterns
52-
fails:Dir.glob matches both dot and non-dotfiles with '*' and option File::FNM_DOTMATCH
53-
fails:Dir.glob matches files with any beginning with '*<non-special characters>' and option File::FNM_DOTMATCH
54-
fails:Dir.glob matches any files in the current directory with '**' and option File::FNM_DOTMATCH
1+
fails:Dir.glob handles infinite directory wildcards
552
fails:Dir.glob recursively matches any subdirectories except './' or '../' with '**/' from the current directory and option File::FNM_DOTMATCH
563
fails:Dir.glob recursively matches any subdirectories except './' or '../' with '**/' and option File::FNM_DOTMATCH
57-
fails:Dir.glob matches a list of paths by concatenating their individual results
58-
fails:Dir.glob accepts a block and yields it with each elements
59-
fails:Dir.glob ignores non-dirs when traversing recursively
60-
fails:Dir.glob matches nothing when given an empty list of paths
61-
fails:Dir.glob handles infinite directory wildcards
62-
fails:Dir.glob matches the literal character '\' with option File::FNM_NOESCAPE
63-
fails:Dir.glob returns nil for directories current user has no permission to read
64-
fails:Dir.glob with encoding returns Strings in the encoding of the pattern
4+
fails:Dir.glob matches UTF-8 paths
5+
fails:Dir.glob recursively matches directories with '**/<characters>'
6+
fails:Dir.glob recursively matches any nondot subdirectories with '**/'
7+
fails:Dir.glob matches paths with glob patterns

0 commit comments

Comments
 (0)