We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae39a1d commit f07a9e4Copy full SHA for f07a9e4
src/pkg/os/os_test.go
@@ -297,7 +297,8 @@ func TestSymLink(t *testing.T) {
297
298
func TestLongSymlink(t *testing.T) {
299
s := "0123456789abcdef";
300
- s = s + s + s + s + s + s + s + s + s + s + s + s + s + s + s + s + s;
+ // Long, but not too long: a common limit is 255.
301
+ s = s + s + s + s + s + s + s + s + s + s + s + s + s + s + s;
302
from := "longsymlinktestfrom";
303
err := Symlink(s, from);
304
if err != nil {
0 commit comments