From c1e5f339ff1abccbe4a284cdc9fba3debcb2c586 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sat, 15 Apr 2023 16:12:52 +0200 Subject: Fix logic in test --- tests/testthat/test_compiled_symbols.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) -- cgit v1.2.1