- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIsDotSlashPath (0.15 sec)
-
src/cmd/doc/doc_test.go
{`.`, true}, {`./`, true}, {`.\`, true}, {`./x`, true}, {`.\x`, true}, {`..`, true}, {`../`, true}, {`..\`, true}, {`../x`, true}, {`..\x`, true}, } func TestIsDotSlashPath(t *testing.T) { for _, test := range isDotSlashTests { if result := isDotSlash(test.str); result != test.result { t.Errorf("isDotSlash(%q) = %t; expected %t", test.str, result, test.result) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 31.2K bytes - Viewed (0)