@@ -378,7 +378,7 @@ func TestIPNSHostnameBacklinks(t *testing.T) {
378
378
s := string (body )
379
379
t .Logf ("body: %s\n " , string (body ))
380
380
381
- if ! strings .Contains (s , "Index of /foo? #<'/" ) {
381
+ if ! strings .Contains (s , "Index of /ipns/example.net/ foo? #<'/" ) {
382
382
t .Fatalf ("expected a path in directory listing" )
383
383
}
384
384
if ! strings .Contains (s , "<a href=\" /foo%3F%20%23%3C%27/./..\" >" ) {
@@ -444,7 +444,7 @@ func TestIPNSHostnameBacklinks(t *testing.T) {
444
444
s = string (body )
445
445
t .Logf ("body: %s\n " , string (body ))
446
446
447
- if ! strings .Contains (s , "Index of /foo? #<'/bar/" ) {
447
+ if ! strings .Contains (s , "Index of /ipns/example.net/ foo? #<'/bar/" ) {
448
448
t .Fatalf ("expected a path in directory listing" )
449
449
}
450
450
if ! strings .Contains (s , "<a href=\" /foo%3F%20%23%3C%27/bar/./..\" >" ) {
@@ -478,7 +478,7 @@ func TestIPNSHostnameBacklinks(t *testing.T) {
478
478
s = string (body )
479
479
t .Logf ("body: %s\n " , string (body ))
480
480
481
- if ! strings .Contains (s , "Index of /good-prefix " ) {
481
+ if ! strings .Contains (s , "Index of /ipns/example.net " ) {
482
482
t .Fatalf ("expected a path in directory listing" )
483
483
}
484
484
if ! strings .Contains (s , "<a href=\" /good-prefix/\" >" ) {
0 commit comments