mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +08:00
Merge pull request #70 from GezimSejdiu/master
Align ancestors printouts (actual, expected) while validating ancestry
This commit is contained in:
commit
12674bab9c
@ -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