Skip to content

Unexpected behavior for filepath.join("/","one") #9

@oderwat

Description

@oderwat

I would expect this at least for Linux & OSX:

should.equal(filepath.join("/","one"),"/one")

At least those will give that same result:

  • Go path/filepath with filepath.Join("/", "one")
  • Python os.path.join("/", "one")
  • Rust Path::new("/").join("one")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions