Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNickols committed Dec 2, 2024
1 parent accf620 commit e8527d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test_maaslin_plot_results.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ expect_equal(list.files(file.path(output_tmp, 'figures',
'var1_a_logistic.png')

expect_equal(list.files(file.path(output_tmp, 'figures')),
c("association_plots", "summary_plot.pdf", "summary_plot.png", "summary_plot_gg.RDS"))
c("association_plots", "summary_plot_gg.RDS", "summary_plot.pdf", "summary_plot.png"))

unlink(output_tmp, recursive = T)

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_maaslin_plot_results_from_output.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ plot_out2 <- maaslin_plot_results(output = output_tmp,

expect_equal(plot_out$assocation_plots$var1$a$logistic$data, plot_out2$assocation_plots$var1$a$logistic$data)
expect_equal(plot_out$assocation_plots$var1$a$logistic$mapping,
plot_out$assocation_plots2$var1$a$logistic$mapping)
plot_out2$assocation_plots$var1$a$logistic$mapping)
expect_equal(plot_out$assocation_plots$var1$a$logistic$scales,
plot_out2$assocation_plots$var1$a$logistic$scales)

Expand Down

0 comments on commit e8527d1

Please sign in to comment.