Skip to content

Commit dbebc92

Browse files
Test only if BEAST2 is available
1 parent eb08e14 commit dbebc92

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-issue_108.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ test_that("issue 108", {
2121
)
2222
)
2323

24-
# Works?
25-
expect_true(beastier::is_beast2_input_file(output_filename))
26-
27-
# Really really Works?
2824
if (beastier::is_beast2_installed()) {
25+
# Works?
26+
expect_true(beastier::is_beast2_input_file(output_filename))
27+
28+
# Really really works?
2929
beast2_xml_lines <- readr::read_lines(output_filename)
3030
expect_true(beastier::are_beast2_input_lines_deep(beast2_xml_lines))
3131
}

0 commit comments

Comments
 (0)