mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +08:00
Align ancestors printouts (actual, expected) while validating ancestry
This commit is contained in:
parent
c51629a9b8
commit
2fc8ba3614
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user