Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Caha committed Oct 4, 2024
1 parent cebbd28 commit ff7f66d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ TEST( ApiTest, DuplicatedDatasetNames )
EXPECT_EQ( MDAL_Status::None, s );
ASSERT_EQ( 2, MDAL_M_datasetGroupCount( m ) );


std::string vertexPath = test_file( "/ascii_dat/quad_and_triangle_vertex_scalar.dat" );

// add the same dataset multiple times
MDAL_M_LoadDatasets( m, vertexPath.c_str() );
s = MDAL_LastStatus();
Expand All @@ -665,7 +665,7 @@ TEST( ApiTest, DuplicatedDatasetNames )

// check that the DatasetGroup names are unique
std::set<std::string> names;
for (int i = 0; i < MDAL_M_datasetGroupCount( m ); ++i)
for ( int i = 0; i < MDAL_M_datasetGroupCount( m ); ++i )
{
MDAL_DatasetGroupH g = MDAL_M_datasetGroup( m, i );
ASSERT_NE( g, nullptr );
Expand Down

0 comments on commit ff7f66d

Please sign in to comment.