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

Fixes testable example #1861

Merged
merged 1 commit into from
Sep 23, 2021
Merged

Fixes testable example #1861

merged 1 commit into from
Sep 23, 2021

Conversation

AlexanderYastrebov
Copy link
Member

The #1860 pointed out a bug
golang/go#48362 that leads to the false
positive testable example caused by a trailing comment.

Moreover #918 changed the test
input without changing the output and that went unnoticed due to this bug.

This change removes trailing comment to fix the example.
It also removes the test input instead of adding a correct output because
the input syntax is incorrect therefore misleading.

Fixes #1860

Signed-off-by: Alexander Yastrebov alexander.yastrebov@zalando.de

The #1860 pointed out a bug
golang/go#48362 that leads to the false
positive testable example caused by a trailing comment.

Moreover #918 changed the test
input without changing the output and that went unnoticed due to this bug.

This change removes trailing comment to fix the example.
It also removes the test input instead of adding a correct output because
the input syntax is incorrect therefore misleading.

Fixes #1860

Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
@szuecs
Copy link
Member

szuecs commented Sep 23, 2021

👍

1 similar comment
@AlexanderYastrebov
Copy link
Member Author

👍

@AlexanderYastrebov AlexanderYastrebov merged commit 4506417 into master Sep 23, 2021
@AlexanderYastrebov AlexanderYastrebov deleted the fixes-example branch September 23, 2021 15:05
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.

eskip testable example is incorrectly passing
2 participants