Similarly printOn: of URIAuthority looks borken to me
I should get 
        useri...@host
        and not  @userinfohost 

So I fixed that... 


testUserInfo
        "self debug: #testUserInfo"
        
        | uri uriString |
        "[scheme:][//authority][path][?query][#fragment]
        where authority can be [user-i...@]host[:port]"

        uriString := 'scheme://useri...@host/'.
        uri :=  URI fromString: uriString.
        self assert: (uri asString = uriString).
        self assert: (uri authority userInfo = 'userinfo').

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to