JosiahWitt / ensure

A balanced test framework for Go
MIT License
8 stars 0 forks source link

Support Go 1.19 Doc Format #56

Closed JosiahWitt closed 2 years ago

JosiahWitt commented 2 years ago

Go 1.19 changes two spaces to a tab to indicate a code block in a doc comment. This updates the project to support that syntax.

codecov-commenter commented 2 years ago

Codecov Report

Merging #56 (f0abb53) into master (efa1e83) will not change coverage. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/JosiahWitt/ensure/pull/56/graphs/tree.svg?width=650&height=150&src=pr&token=96QLAUWD2L&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt)](https://codecov.io/gh/JosiahWitt/ensure/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt) ```diff @@ Coverage Diff @@ ## master #56 +/- ## ======================================= Coverage 96.91% 96.91% ======================================= Files 20 20 Lines 1327 1327 ======================================= Hits 1286 1286 Misses 30 30 Partials 11 11 ``` | Flag | Coverage Δ | | |---|---|---| | cli | `94.72% <100.00%> (ø)` | | | package | `99.36% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/JosiahWitt/ensure/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt) | Coverage Δ | | |---|---|---| | [ensure.go](https://codecov.io/gh/JosiahWitt/ensure/pull/56/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt#diff-ZW5zdXJlLmdv) | `100.00% <ø> (ø)` | | | [ensurepkg/chain.go](https://codecov.io/gh/JosiahWitt/ensure/pull/56/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt#diff-ZW5zdXJlcGtnL2NoYWluLmdv) | `100.00% <ø> (ø)` | | | [ensurepkg/run\_table.go](https://codecov.io/gh/JosiahWitt/ensure/pull/56/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt#diff-ZW5zdXJlcGtnL3J1bl90YWJsZS5nbw==) | `100.00% <ø> (ø)` | | | [cmd/ensure/internal/fswrite/fswrite.go](https://codecov.io/gh/JosiahWitt/ensure/pull/56/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt#diff-Y21kL2Vuc3VyZS9pbnRlcm5hbC9mc3dyaXRlL2Zzd3JpdGUuZ28=) | `100.00% <100.00%> (ø)` | | | [cmd/ensure/internal/mockgen/template.go](https://codecov.io/gh/JosiahWitt/ensure/pull/56/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt#diff-Y21kL2Vuc3VyZS9pbnRlcm5hbC9tb2NrZ2VuL3RlbXBsYXRlLmdv) | `100.00% <100.00%> (ø)` | | ------ [Continue to review full report at Codecov](https://codecov.io/gh/JosiahWitt/ensure/pull/56?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/JosiahWitt/ensure/pull/56?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt). Last update [efa1e83...f0abb53](https://codecov.io/gh/JosiahWitt/ensure/pull/56?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josiah+Witt).