ahrefs / atd

Static types for JSON APIs
Other
308 stars 53 forks source link

Fix small typo in data validation tutorial #395

Closed mbarbin closed 7 months ago

mbarbin commented 7 months ago

Hello,

I've spotted a minor code inconsistency in atdgen-tutorial.rst, in the data-validation section. The test for validation was reversed, Some _ should indicate some errors were found, and None means validation passed (is_valid = true).

I've updated the test file to align with the code quoted in the doc, also changed a date which was out of sync (unimportant).

Thank you!

PR checklist