Skip to content

Commit 677e84e

Browse files
committed
Try harder to exercise the internal fsort branch
1 parent 5484f03 commit 677e84e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/tests/tests.Rraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12716,7 +12716,7 @@ x = runif(1e3)
1271612716
test(1888.6, y<-fsort(x,verbose=TRUE), output="nth=.*Top 20 MSB counts")
1271712717
test(1888.7, !base::is.unsorted(y))
1271812718
test(1888.8, fsort(x,verbose=1), error="verbose must be TRUE or FALSE")
12719-
test(1888.9, fsort(y), base::sort(y))
12719+
test(1888.9, fsort(c(1L, 2L, 3L, 4L), internal = TRUE), c(1L, 2L, 3L, 4L))
1272012720
rm(x, y)
1272112721

1272212722
# doubling of savetl buffer (currently starts with 100)

0 commit comments

Comments
 (0)