Skip to content

Commit 159e771

Browse files
authored
Relax test as we've already confirmed throttle is updating. Only required final value expectation (#4218)
1 parent ca41c08 commit 159e771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-reactivity.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ for (do_priming in c(TRUE, FALSE)) {
13071307
# dr should've fired, and we should have converged on the right answer.
13081308
expect_identical(dr_fired, 2)
13091309
isolate(expect_identical(rv$a, dr()))
1310-
expect_identical(tr_fired, 4)
1310+
# be sure tr() converged on the right answer; (We've already confirmed throttle-like behavior above)
13111311
isolate(expect_identical(rv$a, tr()))
13121312
})
13131313
}

0 commit comments

Comments
 (0)