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

checkers: add tests for #1166 #1172

Merged
merged 1 commit into from Dec 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions checkers/testdata/commentFormatting/negative_tests.go
Expand Up @@ -3,6 +3,9 @@ package checker_test

//nolint reason

//noinspection this is ignored
//noinspection ALL

/*
multi-line comments
are ignored
Expand Down
6 changes: 6 additions & 0 deletions checkers/testdata/commentFormatting/positive_tests.go
Expand Up @@ -6,6 +6,12 @@ package checker_test
/*! put a space between `//` and comment text */
//nolinto

/*! put a space between `//` and comment text */
//no inspection

/*! put a space between `//` and comment text */
//no inspection something

func f1() {
/*! put a space between `//` and comment text */
//block with
Expand Down