@@ -99,8 +99,8 @@ CUTEST_TEST_TEST(mmap) {
9999 cbytes = blosc2_schunk_append_buffer (schunk_write_mmap , data_buffer2 , sizeof (data_buffer2 ));
100100 CUTEST_ASSERT ("Could not write second chunk" , cbytes > 0 );
101101
102- CUTEST_ASSERT ("Could not free the schunk ressources " , blosc2_schunk_free (schunk_write_default ) == 0 );
103- CUTEST_ASSERT ("Could not free the schunk ressources " , blosc2_schunk_free (schunk_write_mmap ) == 0 );
102+ CUTEST_ASSERT ("Could not free the schunk resources " , blosc2_schunk_free (schunk_write_default ) == 0 );
103+ CUTEST_ASSERT ("Could not free the schunk resources " , blosc2_schunk_free (schunk_write_mmap ) == 0 );
104104
105105 /* The compressed file content should not depend on the I/O which created it */
106106 CUTEST_ASSERT ("Files are not identical" , are_files_identical (urlpath_default , urlpath_mmap ));
@@ -128,7 +128,7 @@ CUTEST_TEST_TEST(mmap) {
128128 CUTEST_ASSERT ("Value 1 of chunk 2 is wrong" , fabs (chunk_data [0 ] - 0.3 ) < 1e-6 );
129129 CUTEST_ASSERT ("Value 2 of chunk 2 is wrong" , fabs (chunk_data [1 ] - 0.4 ) < 1e-6 );
130130
131- CUTEST_ASSERT ("Could not free the schunk ressources " , blosc2_schunk_free (schunk_read ) == 0 );
131+ CUTEST_ASSERT ("Could not free the schunk resources " , blosc2_schunk_free (schunk_read ) == 0 );
132132 }
133133
134134#if defined(__linux__ )
@@ -153,7 +153,7 @@ CUTEST_TEST_TEST(mmap) {
153153 CUTEST_ASSERT ("Value 1 of chunk 2 is wrong" , fabs (chunk_data [0 ] - 0.5 ) < 1e-6 );
154154 CUTEST_ASSERT ("Value 2 of chunk 2 is wrong" , fabs (chunk_data [1 ] - 0.6 ) < 1e-6 );
155155
156- CUTEST_ASSERT ("Could not free the schunk ressources " , blosc2_schunk_free (schunk_memory ) == 0 );
156+ CUTEST_ASSERT ("Could not free the schunk resources " , blosc2_schunk_free (schunk_memory ) == 0 );
157157 CUTEST_ASSERT ("Files are not identical" , are_files_identical (urlpath_default , urlpath_mmap ));
158158#endif
159159
@@ -178,7 +178,7 @@ CUTEST_TEST_TEST(mmap) {
178178 CUTEST_ASSERT ("Value 1 of chunk 2 is wrong" , fabs (chunk_data [0 ] - 0.5 ) < 1e-6 );
179179 CUTEST_ASSERT ("Value 2 of chunk 2 is wrong" , fabs (chunk_data [1 ] - 0.6 ) < 1e-6 );
180180
181- CUTEST_ASSERT ("Could not free the schunk ressources " , blosc2_schunk_free (schunk_append ) == 0 );
181+ CUTEST_ASSERT ("Could not free the schunk resources " , blosc2_schunk_free (schunk_append ) == 0 );
182182 CUTEST_ASSERT ("Files are identical" , !are_files_identical (urlpath_default , urlpath_mmap ));
183183
184184 free (chunk_data );
0 commit comments