test/test_hoe.rb in hoe-3.26.0 vs test/test_hoe.rb in hoe-4.0.0

- old
+ new

@@ -1,6 +1,5 @@ -# coding: utf-8 require "minitest/autorun" require "hoe" require "tempfile" class Hoe @@ -190,14 +189,11 @@ ary = ["* https://github.com/seattlerb/hoe", "* http://docs.seattlerb.org/hoe/", "* http://docs.seattlerb.org/hoe/Hoe.pdf", "* http://github.com/jbarnette/hoe-plugin-examples"].join "\n" - exp = { "home" => "https://github.com/seattlerb/hoe" } - err = /DEPRECATED: Please switch readme to hash format/ - - assert_output "", err do - assert_equal exp, hoe.parse_urls(ary) + assert_raises RuntimeError do + hoe.parse_urls ary end end def test_parse_urls_hash hash = [