diff options
Diffstat (limited to 'spec/ruby/core/dir/shared/glob.rb')
-rw-r--r-- | spec/ruby/core/dir/shared/glob.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/dir/shared/glob.rb b/spec/ruby/core/dir/shared/glob.rb index 11ace13326..d2201cd6cd 100644 --- a/spec/ruby/core/dir/shared/glob.rb +++ b/spec/ruby/core/dir/shared/glob.rb @@ -221,12 +221,12 @@ describe :dir_glob, shared: true do it "respects the order of {} expressions, expanding left most first" do files = Dir.send(@method, "brace/a{.js,.html}{.erb,.rjs}") - files.sort.should == %w!brace/a.html.erb brace/a.js.rjs! + files.should == %w!brace/a.js.rjs brace/a.html.erb! end it "respects the optional nested {} expressions" do files = Dir.send(@method, "brace/a{.{js,html},}{.{erb,rjs},}") - files.sort.should == %w!brace/a brace/a.erb brace/a.html.erb brace/a.js brace/a.js.rjs! + files.should == %w!brace/a.js.rjs brace/a.js brace/a.html.erb brace/a.erb brace/a! end it "matches special characters by escaping with a backslash with '\\<character>'" do |