diff --git a/tests/testthat/test-create_beast2_input_file.R b/tests/testthat/test-create_beast2_input_file.R index 4f69741b..32df1914 100644 --- a/tests/testthat/test-create_beast2_input_file.R +++ b/tests/testthat/test-create_beast2_input_file.R @@ -1,7 +1,7 @@ test_that("use", { output_filename <- get_beautier_tempfilename() - expect_false(!file.exists(output_filename)) + expect_false(file.exists(output_filename)) expect_silent( create_beast2_input_file( get_fasta_filename(), diff --git a/tests/testthat/test-create_beast2_input_file_from_model.R b/tests/testthat/test-create_beast2_input_file_from_model.R index 73303830..7b079f5a 100644 --- a/tests/testthat/test-create_beast2_input_file_from_model.R +++ b/tests/testthat/test-create_beast2_input_file_from_model.R @@ -10,7 +10,7 @@ test_that("use", { ) ) expect_true(file.exists(output_filename)) - file.remove(created_lines_filename) + file.remove(output_filename) }) test_that("abuse", {