Fix UglyUrls on Windows

Fixes #958
This commit is contained in:
bep
2015-03-07 15:41:01 +01:00
parent 602ceec06d
commit 91d16fbba0
2 changed files with 2 additions and 2 deletions

View File

@@ -367,7 +367,7 @@ func doTest404ShouldAlwaysHaveUglyUrls(t *testing.T, uglyUrls bool) {
for _, test := range tests {
file, err := hugofs.DestinationFS.Open(test.doc)
if err != nil {
t.Fatalf("Did not find %s in target.", test.doc)
t.Fatalf("Did not find %s in target: %s", test.doc, err)
}
content := helpers.ReaderToBytes(file)