Skip to content

Commit 5323b1d

Browse files
committed
chore: add styler off comment to prevent test modification
1 parent 007f226 commit 5323b1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testthat/test-qenv_within.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,15 @@ testthat::describe("within run with `=`", {
136136
testthat::it("single expression", {
137137
q <- qenv()
138138
q <- within(q, {
139-
i <- 1
139+
i = 1 # styler: off
140140
})
141141
})
142142

143143
testthat::it("multiple '=' expressions", {
144144
q <- qenv()
145145
q <- within(q, {
146-
j <- 2
147-
i <- 1
146+
j = 2 # styler: off
147+
i = 1 # styler: off
148148
})
149149
testthat::expect_equal(q$i, 1)
150150
})

0 commit comments

Comments
 (0)