blob: 1dd1f2d13475b0670eaf995ee786c676e0d61f87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require_relative '../../../spec_helper'
require 'uri'
describe "URI::Generic#to_s" do
ruby_version_is "3.2" do
# https://hackerone.com/reports/156615
it "preserves / characters when host is empty" do
URI('http:///foo.com').to_s.should == 'http:///foo.com'
end
end
end
|