From 535ceea33ce5e04872610aef3963f0fc53a1877c Mon Sep 17 00:00:00 2001 From: Louise Huuki Date: Fri, 17 May 2024 15:45:35 -0400 Subject: [PATCH] Update add_qc_metrics name in test --- tests/testthat/{test-metrics_qc.R => test-add_qc_metrics.R} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tests/testthat/{test-metrics_qc.R => test-add_qc_metrics.R} (76%) diff --git a/tests/testthat/test-metrics_qc.R b/tests/testthat/test-add_qc_metrics.R similarity index 76% rename from tests/testthat/test-metrics_qc.R rename to tests/testthat/test-add_qc_metrics.R index e8473813..9985bbb6 100644 --- a/tests/testthat/test-metrics_qc.R +++ b/tests/testthat/test-add_qc_metrics.R @@ -1,10 +1,10 @@ test_that( - "metrics_qc returns modified spe", + "add_qc_metrics returns modified spe", { if (!exists("spe")) spe <- fetch_data("spe") # run metrics spe - spe_qc <- metrics_qc(spe) + spe_qc <- add_qc_metrics(spe) expect_equal(ncol(spe), ncol(spe_qc)) ## same number of spots expect_equal(ncol(colData(spe)) + 8, ncol(colData(spe_qc))) ## add 8 QC cols to colData }