Skip to content

Commit

Permalink
checkers: add tests for #1166 (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
quasilyte committed Dec 26, 2021
1 parent ed6d9db commit d9ade26
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
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

0 comments on commit d9ade26

Please sign in to comment.