Skip to content

Commit 68fdeb8

Browse files
TESTS: Remove assertions for future (<= 1.14.0) no longer supported
1 parent f110076 commit 68fdeb8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/future,lazy.R

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ for (strategy in strategies) {
1818
## In future (> 1.14.0), resolved() will launch lazy future,
1919
## which means for some backends (e.g. sequential) this means
2020
## that resolved() might end up returning TRUE.
21-
if (packageVersion("future") <= "1.14.0") {
22-
stopifnot(!resolved(f))
23-
}
2421
f <- resolve(f)
2522
stopifnot(resolved(f))
2623
v <- value(f)
@@ -33,9 +30,6 @@ for (strategy in strategies) {
3330
## In future (> 1.14.0), resolved() will launch lazy future,
3431
## which means for some backends (e.g. sequential) this means
3532
## that resolved() might end up returning TRUE.
36-
if (packageVersion("future") <= "1.14.0") {
37-
stopifnot(!resolved(f))
38-
}
3933
f <- resolve(f)
4034
stopifnot(resolved(f))
4135
stopifnot(v == 84)

0 commit comments

Comments
 (0)