We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a046ddb commit b765b9cCopy full SHA for b765b9c
autotest/sqlserveradapter.rb
@@ -1,4 +1,5 @@
1
require 'autotest'
2
+require 'activesupport'
3
4
class Autotest::Sqlserveradapter < Autotest
5
@@ -31,7 +32,7 @@ def initialize
31
32
# Have to use a custom reorder method since the normal :alpha for Autotest would put the
33
# files with ../ in the path before others.
34
def reorder(files_to_test)
- ar_tests, sqlsvr_tests = files_to_test.partition { |k,v| k.start_with?('../../../') }
35
+ ar_tests, sqlsvr_tests = files_to_test.partition { |k,v| k.starts_with?('../../../') }
36
ar_tests.sort! { |a,b| a[0] <=> b[0] }
37
sqlsvr_tests.sort! { |a,b| a[0] <=> b[0] }
38
sqlsvr_tests + ar_tests
0 commit comments