ensure that Dir[] results are predictable in build tests

This commit is contained in:
josh committed 2014-04-14 13:13:43 -04:00
1 parent 1fe2c6401d
commit d8dda291a5
1 file changed
+9
+9
View File
@@ -1,5 +1,14 @@
require 'fileutils'
class Dir
class << self
alias_method :orig_bracket, :[]
end
def self.[](*args)
orig_bracket(*args).sort
end
end
describe Rscons do
BUILD_TEST_RUN_DIR = "build_test_run"