summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2019-11-05 20:08:31 -0800
committerRyan Davis <ryand@zenspider.com>2019-11-05 20:08:31 -0800
commite452d276b764861a8ba45172364abda78e112bf0 (patch)
tree06b2b025937c9d79c72e0ca4944789c95179ed92 /test
parent30ae056ff45d8e50ea9970795391f66c7fe3db17 (diff)
downloadhoe-e452d276b764861a8ba45172364abda78e112bf0.tar.gz
Fixed a test when run in isolation but only via minitest?
[git-p4: depot-paths = "//src/hoe/dev/": change = 12389]
Diffstat (limited to 'test')
-rw-r--r--test/test_hoe.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_hoe.rb b/test/test_hoe.rb
index 8afeccb..a9dade1 100644
--- a/test/test_hoe.rb
+++ b/test/test_hoe.rb
@@ -391,6 +391,8 @@ class TestHoe < Minitest::Test
end
def test_with_config_overrides
+ require "hoe/debug" # modifies Hoe::DEFAULT_CONFIG["exclude"]
+
overrides = {
"exclude" => Regexp.union( Hoe::DEFAULT_CONFIG["exclude"], /\.hg/ ),
"plugins" => %w[tweedledee tweedledum],