Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix test failure caused by JRuby's different handling of sort

  • Loading branch information...
commit c211380864271667c37bb6d666e5d0a1ea558918 1 parent f1e1a79
@wagenet authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 spec/sorted_pipeline_spec.rb
View
5 spec/sorted_pipeline_spec.rb
@@ -15,10 +15,9 @@
end
it "uses sorted input files for #output_files" do
- # only 2 files in this test. Return 1 so the
- # first comparison reorders the array
+ # Reverse sort
pipeline.comparator = proc { |f1, f2|
- 1
+ f2 <=> f1
}
pipeline.input_files = [input_file("jquery.js"), input_file("jquery_ui.js")]
Please sign in to comment.
Something went wrong with that request. Please try again.