Skip to content

Commit 674d872

Browse files
committed
fix: test is using <- instead of =
1 parent b46feff commit 674d872

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-qenv_within.R

Lines changed: 4 additions & 4 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
140140
})
141141
})
142142

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

0 commit comments

Comments
 (0)