Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
bodkan committed Oct 9, 2024
1 parent ba7c6e8 commit 45baed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-extensions.R
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ test_that("output directory can be set and files and tree sequence are saved the
result <- slim(model, path = output_dir)

# slim(..., output_dir = ...) returns the directory path
expect_true(result == output_dir)
expect_true(result == paste0(output_dir, "/"))
expect_equal(sort(list.files(output_dir)), sort(c("output_file", "slim.trees")))
expect_true(file.exists(output_file))
expect_true(readLines(output_file) == "asdf")
Expand Down

0 comments on commit 45baed7

Please sign in to comment.