Skip to content

Commit 942f346

Browse files
committed
Add a test of that last problem with plot_genes()
1 parent ceffa57 commit 942f346

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/testthat/test-plot_genes.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@ test_that("plot_genes works", {
1818

1919
expect_doppelganger("plot_genes", test_plot_genes)
2020

21+
# try again with the genes in a different order
22+
genes <- genes[c(8,5,4,6,2,3,7,1),]
23+
24+
expect_doppelganger("plot_genes", test_plot_genes)
25+
2126
})

0 commit comments

Comments
 (0)