Skip to content

Commit cec425c

Browse files
committed
Fix globbing specs
1 parent 2a4e060 commit cec425c

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
11
fails:Dir.[] matches paths with glob patterns
2+
fails:Dir.[] splits the string on \0 if there is only one string given and warns
3+
fails:Dir.[] matches non-dotfiles with '*'
4+
fails:Dir.[] matches non-dotfiles in the current directory with '**'
5+
fails:Dir.[] recursively matches any nondot subdirectories with '**/'
6+
fails:Dir.[] matches dot or non-dotfiles with '{,.}*'
7+
fails:Dir.[] :base option passed matches entries only from within the specified directory
8+
fails:Dir.[] :base option passed accepts both relative and absolute paths
9+
fails:Dir.[] :base option passed returns [] if specified path does not exist
10+
fails:Dir.[] :base option passed returns [] if specified path is a file
11+
fails:Dir.[] :base option passed handles '' as current directory path
12+
fails:Dir.[] :base option passed handles nil as current directory path

spec/tags/core/dir/glob_tags.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
11
fails:Dir.glob matches paths with glob patterns
2+
fails:Dir.glob splits the string on \0 if there is only one string given and warns
3+
fails:Dir.glob matches non-dotfiles with '*'
4+
fails:Dir.glob matches non-dotfiles in the current directory with '**'
5+
fails:Dir.glob recursively matches any nondot subdirectories with '**/'
6+
fails:Dir.glob matches dot or non-dotfiles with '{,.}*'
7+
fails:Dir.glob :base option passed matches entries only from within the specified directory
8+
fails:Dir.glob :base option passed accepts both relative and absolute paths
9+
fails:Dir.glob :base option passed returns [] if specified path does not exist
10+
fails:Dir.glob :base option passed returns [] if specified path is a file
11+
fails:Dir.glob :base option passed handles '' as current directory path
12+
fails:Dir.glob :base option passed handles nil as current directory path

spec/truffle.mspec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ class MSpecScript
5959
"spec/ruby/core",
6060

6161
"^spec/ruby/core/tracepoint",
62-
"^spec/ruby/core/dir/glob_spec.rb",
63-
"^spec/ruby/core/dir/element_reference_spec.rb"
6462
]
6563

6664
set :library, [

0 commit comments

Comments
 (0)