Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align ancestors printouts (actual, expected) while validating ancestry #70

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

GezimSejdiu
Copy link
Contributor

Hi @kovetskiy ,

this tiny PR will just do a formating while printing out the expected ancestors while validating the ancestry tree.

Before

2021-02-02 08:23:19.164 FATAL unable to resolve page
                              └─ the page has fewer parents than expected
                                 ├─ title: Test Page
                                 ├─ actual: Parent1 > Parent2 > Parent3 > Parent4 > Parent5 > Parent6
                                 ├─ expected: Parent1>Parent2>Parent3>Parent4>Parent5>Parent6>Test Page
                                 └─ title: Test Page

After

2021-02-02 08:23:19.164 FATAL unable to resolve page
                              └─ the page has fewer parents than expected
                                 ├─ title: Test Page
                                 ├─ actual: Parent1 > Parent2 > Parent3 > Parent4 > Parent5 > Parent6
                                 ├─ expected: Parent1 > Parent2 > Parent3 > Parent4 > Parent5 > Parent6 > Test Page
                                 └─ title: Test Page

Best regards,

@kovetskiy kovetskiy merged commit 12674ba into kovetskiy:master Feb 25, 2021
@kovetskiy
Copy link
Owner

Nice catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants