From 985d1313f5bf79d38fd847a1eb6b95a336fd6c36 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Wed, 24 Jul 2024 21:02:31 +0200 Subject: [PATCH] Test Path.HasPrefixPath --- v23/path_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v23/path_test.go b/v23/path_test.go index 710a32cc..cf787a66 100644 --- a/v23/path_test.go +++ b/v23/path_test.go @@ -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)