giturlparse icon indicating copy to clipboard operation
giturlparse copied to clipboard

Should not this be a branch?

Open feliam opened this issue 2 years ago • 1 comments

https://github.com/nephila/giturlparse/blob/a6b48dad230d43393227ffdf52f2099db8038622/giturlparse/tests/test_parse.py#L381

    from giturlparse import parse as giturlparse
    p = giturlparse("https://github.com/nephila/giturlparse/tree/master/changes")
    print (p.branch, p.path)
    assert p.branch == "master"
    assert p.path == "changes"

feliam avatar May 03 '23 19:05 feliam

@feliam The url you're referring to in test_parse.py is https://github.com/nephila/giturlparse/blob/master/giturlparse/github.py , but you did test https://github.com/nephila/giturlparse/tree/master/changes , that is a different url.

Or am I missing something here?

protoroto avatar Aug 25 '23 10:08 protoroto