55 *
66 * The MIT License
77 *
8- * @copyright Copyright (c) 2022 TileDB, Inc.
8+ * @copyright Copyright (c) 2022-2024 TileDB, Inc.
99 *
1010 * Permission is hereby granted, free of charge, to any person obtaining a copy
1111 * of this software and associated documentation files (the "Software"), to deal
3232
3333#include " test/support/src/helpers.h"
3434#include " test/support/src/vfs_helpers.h"
35+ #include " tiledb/api/c_api/array_schema/array_schema_api_internal.h"
3536#include " tiledb/api/c_api/context/context_api_internal.h"
3637#include " tiledb/sm/c_api/tiledb.h"
3738#include " tiledb/sm/c_api/tiledb_experimental.h"
@@ -359,7 +360,7 @@ TEST_CASE_METHOD(
359360
360361 // Check array schema and number of dimension labels.
361362 require_tiledb_ok (tiledb_array_schema_check (ctx, array_schema));
362- auto dim_label_num = array_schema->array_schema_ -> dim_label_num ();
363+ auto dim_label_num = array_schema->dim_label_num ();
363364 REQUIRE (dim_label_num == 1 );
364365
365366 // Create array
@@ -384,10 +385,9 @@ TEST_CASE_METHOD(
384385 tiledb_array_schema_t * loaded_dim_label_array_schema{nullptr };
385386 require_tiledb_ok (tiledb_array_schema_load (
386387 ctx, dim_label_uri, &loaded_dim_label_array_schema));
387- uint64_t loaded_tile_extent{
388- loaded_dim_label_array_schema->array_schema_ ->dimension_ptr (0 )
389- ->tile_extent ()
390- .rvalue_as <uint64_t >()};
388+ uint64_t loaded_tile_extent{loaded_dim_label_array_schema->dimension_ptr (0 )
389+ ->tile_extent ()
390+ .rvalue_as <uint64_t >()};
391391 REQUIRE (tile_extent == loaded_tile_extent);
392392 tiledb_array_schema_free (&loaded_dim_label_array_schema);
393393 }
0 commit comments