test/test_iri.rb in iri-0.6.0 vs test/test_iri.rb in iri-0.7.0
- old
+ new
@@ -58,9 +58,16 @@
'https:',
Iri.new.scheme('https').to_s
)
end
+ def test_inspects_iri
+ assert_equal(
+ '"https://openai.com"',
+ Iri.new('https://openai.com').inspect
+ )
+ end
+
def test_replaces_scheme
assert_equal(
'https://google.com/',
Iri.new('http://google.com/').scheme('https').to_s
)