aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2023-04-15 16:12:52 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2023-04-15 16:12:52 +0200
commitc1e5f339ff1abccbe4a284cdc9fba3debcb2c586 (patch)
tree8f1026b308a33216feb4e7b13b743a2eda8a2f40
parentf7b1ecf0b09ae3a801a9da7e6d255ffac4b6e7ec (diff)
Fix logic in test
-rw-r--r--tests/testthat/test_compiled_symbols.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/test_compiled_symbols.R b/tests/testthat/test_compiled_symbols.R
index 2828951d..0c8aff99 100644
--- a/tests/testthat/test_compiled_symbols.R
+++ b/tests/testthat/test_compiled_symbols.R
@@ -48,7 +48,7 @@ test_that("We can safely use compiled code", {
parallel::stopCluster(cl_psock)
# Clean up
- if (Sys.info()["sysname"] != "Windows") {
+ if (Sys.info()["sysname"] == "Windows") {
expect_true(file.remove("test_dlls/sfo_sfo.dll"))
} else {
expect_true(file.remove("test_dlls/sfo_sfo.so"))

Contact - Imprint