diff options
author | Ryan Davis <ryand@zenspider.com> | 2015-01-27 02:58:33 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2015-01-27 02:58:33 -0800 |
commit | 96b443559150088b1ad8b48528b220e3c2b815e3 (patch) | |
tree | 4358797fee4361d7dd0cf9f67e74784aa83b1a55 /test | |
parent | 8c971c0cf939874ea71686df2b1e64ebf9362dc4 (diff) | |
download | hoe-96b443559150088b1ad8b48528b220e3c2b815e3.tar.gz |
more stylistic tweaks
[git-p4: depot-paths = "//src/hoe/dev/": change = 9958]
Diffstat (limited to 'test')
-rw-r--r-- | test/test_hoe.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_hoe.rb b/test/test_hoe.rb index cdee94c..fa51b4d 100644 --- a/test/test_hoe.rb +++ b/test/test_hoe.rb @@ -364,7 +364,7 @@ class TestHoe < Minitest::Test Dir.mktmpdir do |path| ENV["HOME"] = path - hoeconfig = hoe.with_config {|config, _| config } + hoeconfig = hoe.with_config { |config, _| config } assert_equal Hoe::DEFAULT_CONFIG, hoeconfig end @@ -375,7 +375,7 @@ class TestHoe < Minitest::Test def test_with_config_overrides overrides = { "exclude" => Regexp.union( Hoe::DEFAULT_CONFIG["exclude"], /\.hg/ ), - "plugins" => ["tweedledee", "tweedledum"] + "plugins" => %w[tweedledee tweedledum], } overrides_rcfile = File.join(Dir.pwd, ".hoerc") @@ -391,7 +391,7 @@ class TestHoe < Minitest::Test io.write YAML.dump( overrides ) end - hoeconfig = hoe.with_config {|config, _| config } + hoeconfig = hoe.with_config { |config, _| config } assert_equal Hoe::DEFAULT_CONFIG.merge(overrides), hoeconfig end |