Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebarrau committed Mar 13, 2023
1 parent 017c18b commit c0c70e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rule/rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ x_library(name = "x")
`,
want: true,
}, {
desc: "prefix",
desc: "prefix with description",
src: `
# keep because of ticket #42
# keep: hack, see more in ticket #42
x_library(name = "x")
`,
want: true,
Expand Down Expand Up @@ -368,9 +368,9 @@ func TestShouldKeepExpr(t *testing.T) {
`,
want: true,
}, {
desc: "before",
desc: "before with description",
src: `
# keep because we need it for the ninja feature
# keep: we need it for the ninja feature
"s"
`,
want: true,
Expand Down

0 comments on commit c0c70e2

Please sign in to comment.