Skip to content

Commit 36f5efa

Browse files
committed
Use endsWith() where relevant
1 parent f32f9d6 commit 36f5efa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/testthat/test-roundtrip-X.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test_names <- names(da$matrix_generators)
1313

1414
# X must always be 2-dimensional in AnnData
1515
# -> https://github.com/scverse/anndata/blob/2a2c0e3198c298a5c80a73ac343c63203b5ca133/src/anndata/_core/anndata.py#L2164-L2172 # nolint
16-
test_names <- test_names[!grepl("_3d$", test_names)]
16+
test_names <- test_names[!endsWith(test_names, "_3d")]
1717

1818
for (fmt in c("h5ad", "zarr")) {
1919
fmt_config <- get_fmt_config(fmt)

0 commit comments

Comments
 (0)