Skip to content

Commit

Permalink
[c++] Fix typo in test/unit_soma_dense_ndarray.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Aug 17, 2024
1 parent bdba3c3 commit 6ce1730
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libtiledbsoma/test/unit_soma_dense_ndarray.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ TEST_CASE("SOMADenseNDArray: metadata") {
std::string uri = "mem://unit-test-dense-ndarray";

auto index_columns = helper::create_column_index_info();
SOMASparseNDArray::create(
SOMADenseNDArray::create(
uri,
"l",
ArrowTable(
Expand All @@ -135,6 +135,9 @@ TEST_CASE("SOMADenseNDArray: metadata") {
ResultOrder::automatic,
std::pair<uint64_t, uint64_t>(1, 1));

REQUIRE(soma_dense->type() == "SOMADenseNDArray");
REQUIRE(soma_dense->is_sparse() == false);

int32_t val = 100;
soma_dense->set_metadata("md", TILEDB_INT32, 1, &val);
soma_dense->close();
Expand Down

0 comments on commit 6ce1730

Please sign in to comment.