Skip to content

Commit 5484f03

Browse files
committed
Test a no-op fsort(), clean up
Hopefully this will exercise the branch previously missed by covr.
1 parent 331f5db commit 5484f03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12716,7 +12716,8 @@ 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-
rm(x)
12719+
test(1888.9, fsort(y), base::sort(y))
12720+
rm(x, y)
1272012721

1272112722
# doubling of savetl buffer (currently starts with 100)
1272212723
x = as.character(as.hexmode(1:1000))

0 commit comments

Comments
 (0)