Merge pull request #70 from GezimSejdiu/master

Align ancestors printouts (actual, expected) while validating ancestry
This commit is contained in:
Egor Kovetskiy 2021-02-25 08:06:37 +03:00 committed by GitHub
commit 12674bab9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ func ValidateAncestry(
return nil, karma.Describe("title", page.Title). return nil, karma.Describe("title", page.Title).
Describe("actual", strings.Join(actual, " > ")). Describe("actual", strings.Join(actual, " > ")).
Describe("expected", strings.Join(ancestry, ">")). Describe("expected", strings.Join(ancestry, " > ")).
Format(nil, "the page has fewer parents than expected") Format(nil, "the page has fewer parents than expected")
} }