Skip to content

Commit

Permalink
Test Path.HasPrefixPath
Browse files Browse the repository at this point in the history
  • Loading branch information
rillig committed Jul 24, 2024
1 parent 71b863a commit 985d131
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v23/path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ func (s *Suite) Test_Path_HasPrefixPath(c *check.C) {
test("/root/", "/root", true)
test("/root/", "root", false)
test("/root/subdir", "/root", true)
test("filename", "/filename", false)
test("filename", ".", true)
test("filename", "./filename", true)
test("filename", "./file", false)
Expand Down

0 comments on commit 985d131

Please sign in to comment.