This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e286dd004 GH-38923: [GLib] Fix spelling (#38924)
7e286dd004 is described below

commit 7e286dd004a8fcf2de0f58615793338076741208
Author: Josh Soref <[email protected]>
AuthorDate: Fri Mar 8 10:42:06 2024 -0500

    GH-38923: [GLib] Fix spelling (#38924)
    
    
    
    ### Rationale for this change
    
    ### What changes are included in this PR?
    
    Spelling fixes to c_glib/
    
    ### Are these changes tested?
    
    ### Are there any user-facing changes?
    
    * Closes: #38923
    
    Lead-authored-by: Josh Soref <[email protected]>
    Co-authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 c_glib/arrow-dataset-glib/dataset-factory.h  |  2 +-
 c_glib/arrow-flight-sql-glib/server.h        |  2 +-
 c_glib/arrow-glib/array-builder.cpp          |  4 ++--
 c_glib/arrow-glib/buffer.cpp                 |  2 +-
 c_glib/arrow-glib/composite-array.cpp        |  2 +-
 c_glib/arrow-glib/compute.cpp                | 14 +++++++-------
 c_glib/arrow-glib/expression.cpp             |  2 +-
 c_glib/arrow-glib/input-stream.cpp           |  2 +-
 c_glib/arrow-glib/local-file-system.cpp      |  2 +-
 c_glib/arrow-glib/metadata-version.cpp       |  2 +-
 c_glib/arrow-glib/output-stream.cpp          |  8 ++++----
 c_glib/parquet-glib/arrow-file-reader.cpp    | 12 ++++++------
 c_glib/parquet-glib/arrow-file-writer.cpp    |  8 ++++----
 c_glib/parquet-glib/statistics.cpp           |  2 +-
 c_glib/test/flight/test-client-options.rb    |  2 +-
 c_glib/test/gandiva/test-native-function.rb  |  2 +-
 c_glib/test/helper/readable.rb               |  2 +-
 c_glib/test/test-array.rb                    |  4 ++--
 c_glib/test/test-decimal128-data-type.rb     |  2 +-
 c_glib/test/test-decimal256-data-type.rb     |  2 +-
 c_glib/test/test-dictionary-array-builder.rb |  2 +-
 c_glib/test/test-extension-data-type.rb      |  2 +-
 c_glib/test/test-fixed-size-binary-array.rb  |  2 +-
 23 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/c_glib/arrow-dataset-glib/dataset-factory.h 
b/c_glib/arrow-dataset-glib/dataset-factory.h
index 292a9ca70d..ce15babba4 100644
--- a/c_glib/arrow-dataset-glib/dataset-factory.h
+++ b/c_glib/arrow-dataset-glib/dataset-factory.h
@@ -100,7 +100,7 @@ GARROW_AVAILABLE_IN_5_0
 gboolean
 gadataset_file_system_dataset_factory_add_selector(
   GADatasetFileSystemDatasetFactory *factory,
-  GArrorFileSelector *selector,
+  GArrowFileSelector *selector,
   GError **error);
 */
 
diff --git a/c_glib/arrow-flight-sql-glib/server.h 
b/c_glib/arrow-flight-sql-glib/server.h
index 106b6e40db..90eb5ee7e4 100644
--- a/c_glib/arrow-flight-sql-glib/server.h
+++ b/c_glib/arrow-flight-sql-glib/server.h
@@ -202,7 +202,7 @@ G_DECLARE_DERIVABLE_TYPE(GAFlightSQLServer,
 /**
  * GAFlightSQLServerClass:
  * @get_flight_info_statement: A virtual function to implement
- *   `GetFlightInfoStatment` API that gets a #GAFlightInfo for executing a
+ *   `GetFlightInfoStatement` API that gets a #GAFlightInfo for executing a
  *   SQL query.
  * @do_get_statement: A virtual function to implement `DoGetStatement` API
  *   that gets a #GAFlightDataStream containing the query results.
diff --git a/c_glib/arrow-glib/array-builder.cpp 
b/c_glib/arrow-glib/array-builder.cpp
index ee6ec69e98..5171161970 100644
--- a/c_glib/arrow-glib/array-builder.cpp
+++ b/c_glib/arrow-glib/array-builder.cpp
@@ -5179,7 +5179,7 @@ 
garrow_binary_dictionary_array_builder_append_indices(GArrowBinaryDictionaryArra
  * garrow_binary_dictionary_array_builder_get_dictionary_length:
  * @builder: A #GArrowBinaryDictionaryArrayBuilder.
  *
- * Returns: A number of entries in the dicitonary.
+ * Returns: A number of entries in the dictionary.
  *
  * Since: 2.0.0
  */
@@ -5413,7 +5413,7 @@ 
garrow_string_dictionary_array_builder_append_indices(GArrowStringDictionaryArra
  * garrow_string_dictionary_array_builder_get_dictionary_length:
  * @builder: A #GArrowStringDictionaryArrayBuilder.
  *
- * Returns: A number of entries in the dicitonary.
+ * Returns: A number of entries in the dictionary.
  *
  * Since: 2.0.0
  */
diff --git a/c_glib/arrow-glib/buffer.cpp b/c_glib/arrow-glib/buffer.cpp
index 58f47518c8..86d88cebd5 100644
--- a/c_glib/arrow-glib/buffer.cpp
+++ b/c_glib/arrow-glib/buffer.cpp
@@ -307,7 +307,7 @@ garrow_buffer_get_data(GArrowBuffer *buffer)
  * @buffer: A #GArrowBuffer.
  *
  * Returns: (transfer full) (nullable): The data of the buffer. If the
- *   buffer is imutable, it returns %NULL. The data is owned by the
+ *   buffer is immutable, it returns %NULL. The data is owned by the
  *   buffer. You should not free the data.
  *
  * Since: 0.3.0
diff --git a/c_glib/arrow-glib/composite-array.cpp 
b/c_glib/arrow-glib/composite-array.cpp
index 36d460c9e0..6ca22e8238 100644
--- a/c_glib/arrow-glib/composite-array.cpp
+++ b/c_glib/arrow-glib/composite-array.cpp
@@ -2077,7 +2077,7 @@ garrow_run_end_encoded_array_find_physical_offset(
  *   range of values from offset to length.
  *
  *   Avoid calling this function if the physical length can be
- *   estabilished in some other way (e.g. when iterating over the runs
+ *   established in some other way (e.g. when iterating over the runs
  *   sequentially until the end). This function uses binary-search, so
  *   it has a O(log N) cost.
  *
diff --git a/c_glib/arrow-glib/compute.cpp b/c_glib/arrow-glib/compute.cpp
index 14be097221..1415d953a5 100644
--- a/c_glib/arrow-glib/compute.cpp
+++ b/c_glib/arrow-glib/compute.cpp
@@ -231,7 +231,7 @@ G_BEGIN_DECLS
  * #GArrowUTF8NormalizeOptions is a class to customize the
  * `utf8_normalize` function.
  *
- * #GArrowQuantileOptions is a class to customize the `qunatile`
+ * #GArrowQuantileOptions is a class to customize the `quantile`
  * function.
  *
  * #GArrowIndexOptions is a class to customize the `index` function.
@@ -5434,7 +5434,7 @@ garrow_record_batch_take(GArrowRecordBatch *record_batch,
  * @options: (nullable): A #GArrowFilterOptions.
  * @error: (nullable): Return location for a #GError or %NULL.
  *
- * Returns: (nullable) (transfer full): The #GArrowArray filterd
+ * Returns: (nullable) (transfer full): The #GArrowArray filtered
  *   with a boolean selection filter. Nulls in the filter will
  *   result in nulls in the output.
  *
@@ -5670,7 +5670,7 @@ garrow_table_sort_indices(GArrowTable *table,
  * @options: (nullable): A #GArrowFilterOptions.
  * @error: (nullable): Return location for a #GError or %NULL.
  *
- * Returns: (nullable) (transfer full): The #GArrowTable filterd
+ * Returns: (nullable) (transfer full): The #GArrowTable filtered
  *   with a boolean selection filter. Nulls in the filter will
  *   result in nulls in the output.
  *
@@ -5709,7 +5709,7 @@ garrow_table_filter(GArrowTable *table,
  * @options: (nullable): A #GArrowFilterOptions.
  * @error: (nullable): Return location for a #GError or %NULL.
  *
- * Returns: (nullable) (transfer full): The #GArrowTable filterd
+ * Returns: (nullable) (transfer full): The #GArrowTable filtered
  *   with a chunked array filter. Nulls in the filter will
  *   result in nulls in the output.
  *
@@ -5750,7 +5750,7 @@ garrow_table_filter_chunked_array(GArrowTable *table,
  * @options: (nullable): A #GArrowFilterOptions.
  * @error: (nullable): Return location for a #GError or %NULL.
  *
- * Returns: (nullable) (transfer full): The #GArrowChunkedArray filterd
+ * Returns: (nullable) (transfer full): The #GArrowChunkedArray filtered
  *   with a boolean selection filter. Nulls in the filter will
  *   result in nulls in the output.
  *
@@ -5789,7 +5789,7 @@ garrow_chunked_array_filter(GArrowChunkedArray 
*chunked_array,
  * @options: (nullable): A #GArrowFilterOptions.
  * @error: (nullable): Return location for a #GError or %NULL.
  *
- * Returns: (nullable) (transfer full): The #GArrowChunkedArray filterd
+ * Returns: (nullable) (transfer full): The #GArrowChunkedArray filtered
  *   with a chunked array filter. Nulls in the filter will
  *   result in nulls in the output.
  *
@@ -5830,7 +5830,7 @@ 
garrow_chunked_array_filter_chunked_array(GArrowChunkedArray *chunked_array,
  * @options: (nullable): A #GArrowFilterOptions.
  * @error: (nullable): Return location for a #GError or %NULL.
  *
- * Returns: (nullable) (transfer full): The #GArrowRecordBatch filterd
+ * Returns: (nullable) (transfer full): The #GArrowRecordBatch filtered
  *   with a boolean selection filter. Nulls in the filter will
  *   result in nulls in the output.
  *
diff --git a/c_glib/arrow-glib/expression.cpp b/c_glib/arrow-glib/expression.cpp
index 419f668823..48b5fd055e 100644
--- a/c_glib/arrow-glib/expression.cpp
+++ b/c_glib/arrow-glib/expression.cpp
@@ -166,7 +166,7 @@ 
garrow_field_expression_class_init(GArrowFieldExpressionClass *klass)
  * @reference: A field name or dot path.
  * @error: (nullable): Return location for a #GError or %NULL.
  *
- * Returns: A newly created #GArrowFieldExpression on sucess, %NULL on
+ * Returns: A newly created #GArrowFieldExpression on success, %NULL on
  *   error.
  *
  * Since: 6.0.0
diff --git a/c_glib/arrow-glib/input-stream.cpp 
b/c_glib/arrow-glib/input-stream.cpp
index 844c83d629..b65e898454 100644
--- a/c_glib/arrow-glib/input-stream.cpp
+++ b/c_glib/arrow-glib/input-stream.cpp
@@ -697,7 +697,7 @@ garrow_file_input_stream_new_file_descriptor(gint 
file_descriptor,
 
 /**
  * garrow_file_input_stream_get_file_descriptor:
- * @stream: A #GArrowFileInuptStream.
+ * @stream: A #GArrowFileInputStream.
  *
  * Returns: The file descriptor of @stream.
  *
diff --git a/c_glib/arrow-glib/local-file-system.cpp 
b/c_glib/arrow-glib/local-file-system.cpp
index c4b29658e3..ae503bf731 100644
--- a/c_glib/arrow-glib/local-file-system.cpp
+++ b/c_glib/arrow-glib/local-file-system.cpp
@@ -28,7 +28,7 @@ G_BEGIN_DECLS
  * @title: Local file system classes
  * @include: arrow-glib/arrow-glib.h
  *
- * #GArrowLocalFileSystemOptions is a class for specifyiing options of
+ * #GArrowLocalFileSystemOptions is a class for specifying options of
  * an instance of #GArrowLocalFileSystem.
  *
  * #GArrowLocalFileSystem is a class for an implementation of a file system
diff --git a/c_glib/arrow-glib/metadata-version.cpp 
b/c_glib/arrow-glib/metadata-version.cpp
index 69cbaec37e..ffefeb2f08 100644
--- a/c_glib/arrow-glib/metadata-version.cpp
+++ b/c_glib/arrow-glib/metadata-version.cpp
@@ -22,7 +22,7 @@
 /**
  * SECTION: metadata-version
  * @title: GArrowMetadataVersion
- * @short_description: Metadata version mapgging between Arrow and arrow-glib
+ * @short_description: Metadata version mapping between Arrow and arrow-glib
  *
  * #GArrowMetadataVersion provides metadata versions corresponding
  * to `arrow::ipc::MetadataVersion` values.
diff --git a/c_glib/arrow-glib/output-stream.cpp 
b/c_glib/arrow-glib/output-stream.cpp
index b5b51584c4..a9317e9f28 100644
--- a/c_glib/arrow-glib/output-stream.cpp
+++ b/c_glib/arrow-glib/output-stream.cpp
@@ -395,13 +395,13 @@ namespace garrow {
                         int64_t n_bytes) override {
       GError *error = NULL;
       gsize n_written_bytes;
-      auto successed = g_output_stream_write_all(output_stream_,
+      auto succeeded = g_output_stream_write_all(output_stream_,
                                                  data,
                                                  n_bytes,
                                                  &n_written_bytes,
                                                  NULL,
                                                  &error);
-      if (successed) {
+      if (succeeded) {
         position_ += n_written_bytes;
         return arrow::Status::OK();
       } else {
@@ -415,8 +415,8 @@ namespace garrow {
 
     arrow::Status Flush() override {
       GError *error = NULL;
-      auto successed = g_output_stream_flush(output_stream_, NULL, &error);
-      if (successed) {
+      auto succeeded = g_output_stream_flush(output_stream_, NULL, &error);
+      if (succeeded) {
         return arrow::Status::OK();
       } else {
         return garrow_error_to_status(error,
diff --git a/c_glib/parquet-glib/arrow-file-reader.cpp 
b/c_glib/parquet-glib/arrow-file-reader.cpp
index fd21a9e9c3..f7a4b09f81 100644
--- a/c_glib/parquet-glib/arrow-file-reader.cpp
+++ b/c_glib/parquet-glib/arrow-file-reader.cpp
@@ -123,7 +123,7 @@ 
gparquet_arrow_file_reader_class_init(GParquetArrowFileReaderClass *klass)
 /**
  * gparquet_arrow_file_reader_new_arrow:
  * @source: Arrow source to be read.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: (nullable): A newly created #GParquetArrowFileReader.
  *
@@ -152,7 +152,7 @@ 
gparquet_arrow_file_reader_new_arrow(GArrowSeekableInputStream *source,
 /**
  * gparquet_arrow_file_reader_new_path:
  * @path: Path to be read.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: (nullable): A newly created #GParquetArrowFileReader.
  *
@@ -189,7 +189,7 @@ gparquet_arrow_file_reader_new_path(const gchar *path,
 /**
  * gparquet_arrow_file_reader_read_table:
  * @reader: A #GParquetArrowFileReader.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: (transfer full) (nullable): A read #GArrowTable.
  *
@@ -220,7 +220,7 @@ 
gparquet_arrow_file_reader_read_table(GParquetArrowFileReader *reader,
  *   If an index is negative, the index is counted backward from the
  *   end of the columns. `-1` means the last column.
  * @n_column_indices: The number of elements of @column_indices.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: (transfer full) (nullable): A read #GArrowTable.
  *
@@ -273,7 +273,7 @@ 
gparquet_arrow_file_reader_read_row_group(GParquetArrowFileReader *reader,
 /**
  * gparquet_arrow_file_reader_get_schema:
  * @reader: A #GParquetArrowFileReader.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: (transfer full) (nullable): A got #GArrowSchema.
  *
@@ -302,7 +302,7 @@ 
gparquet_arrow_file_reader_get_schema(GParquetArrowFileReader *reader,
  * @i: The index of the column to be read.
  *   If an index is negative, the index is counted backward from the
  *   end of the columns. `-1` means the last column.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: (transfer full) (nullable): A read #GArrowChunkedArray.
  *
diff --git a/c_glib/parquet-glib/arrow-file-writer.cpp 
b/c_glib/parquet-glib/arrow-file-writer.cpp
index 537e833053..f923edbf5e 100644
--- a/c_glib/parquet-glib/arrow-file-writer.cpp
+++ b/c_glib/parquet-glib/arrow-file-writer.cpp
@@ -406,7 +406,7 @@ 
gparquet_arrow_file_writer_class_init(GParquetArrowFileWriterClass *klass)
  * @schema: Arrow schema for written data.
  * @sink: Arrow output stream to be written.
  * @writer_properties: (nullable): A #GParquetWriterProperties.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: (nullable): A newly created #GParquetArrowFileWriter.
  *
@@ -451,7 +451,7 @@ gparquet_arrow_file_writer_new_arrow(GArrowSchema *schema,
  * @schema: Arrow schema for written data.
  * @path: Path to be read.
  * @writer_properties: (nullable): A #GParquetWriterProperties.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: (nullable): A newly created #GParquetArrowFileWriter.
  *
@@ -505,7 +505,7 @@ gparquet_arrow_file_writer_new_path(GArrowSchema *schema,
  * @writer: A #GParquetArrowFileWriter.
  * @table: A table to be written.
  * @chunk_size: The max number of rows in a row group.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: %TRUE on success, %FALSE if there was an error.
  *
@@ -528,7 +528,7 @@ 
gparquet_arrow_file_writer_write_table(GParquetArrowFileWriter *writer,
 /**
  * gparquet_arrow_file_writer_close:
  * @writer: A #GParquetArrowFileWriter.
- * @error: (nullable): Return locatipcn for a #GError or %NULL.
+ * @error: (nullable): Return location for a #GError or %NULL.
  *
  * Returns: %TRUE on success, %FALSE if there was an error.
  *
diff --git a/c_glib/parquet-glib/statistics.cpp 
b/c_glib/parquet-glib/statistics.cpp
index 5dae756bf6..596768d980 100644
--- a/c_glib/parquet-glib/statistics.cpp
+++ b/c_glib/parquet-glib/statistics.cpp
@@ -169,7 +169,7 @@ gparquet_statistics_get_n_nulls(GParquetStatistics 
*statistics)
 }
 
 /**
- * gparquet_statistics_has_n_distinct_valuess:
+ * gparquet_statistics_has_n_distinct_values:
  * @statistics: A #GParquetStatistics.
  *
  * Returns: %TRUE if the number of distinct values is set, %FALSE otherwise.
diff --git a/c_glib/test/flight/test-client-options.rb 
b/c_glib/test/flight/test-client-options.rb
index b1a67c6069..e1f3a2f850 100644
--- a/c_glib/test/flight/test-client-options.rb
+++ b/c_glib/test/flight/test-client-options.rb
@@ -51,7 +51,7 @@ class TestFlightClientOptions < Test::Unit::TestCase
     assert_equal(100, @options.write_size_limit_bytes)
   end
 
-  def test_disable_server_verifiation
+  def test_disable_server_verification
     assert do
       not @options.disable_server_verification?
     end
diff --git a/c_glib/test/gandiva/test-native-function.rb 
b/c_glib/test/gandiva/test-native-function.rb
index 630a1f7c32..4d4d6fc7d3 100644
--- a/c_glib/test/gandiva/test-native-function.rb
+++ b/c_glib/test/gandiva/test-native-function.rb
@@ -59,7 +59,7 @@ class TestGandivaNativeFunction < Test::Unit::TestCase
                  modulo.to_s)
   end
 
-  sub_test_case("get_result_nullbale_type") do
+  sub_test_case("get_result_nullable_type") do
     def test_if_null
       assert_equal(Gandiva::ResultNullableType::IF_NULL,
                    @not.result_nullable_type)
diff --git a/c_glib/test/helper/readable.rb b/c_glib/test/helper/readable.rb
index 81bf0795c6..cea5faf768 100644
--- a/c_glib/test/helper/readable.rb
+++ b/c_glib/test/helper/readable.rb
@@ -19,7 +19,7 @@ module Helper
   module Readable
     def read_table(input, type: :file)
       if input.is_a?(Arrow::Buffer)
-        input_stream = Arrow::BufferIntputStream.new(input)
+        input_stream = Arrow::BufferInputStream.new(input)
       else
         input_stream = Arrow::FileInputStream.new(input)
       end
diff --git a/c_glib/test/test-array.rb b/c_glib/test/test-array.rb
index c03aecf173..4da641b203 100644
--- a/c_glib/test/test-array.rb
+++ b/c_glib/test/test-array.rb
@@ -141,12 +141,12 @@ class TestArray < Test::Unit::TestCase
 
     def test_diff
       array = build_string_array(["Start", "Shutdown", "Reboot"])
-      other_array = build_string_array(["Start", "Shutdonw", "Reboot"])
+      other_array = build_string_array(["Start", "Running", "Reboot"])
       assert_equal(<<-STRING.chomp, array.diff_unified(other_array))
 
 @@ -1, +1 @@
 -"Shutdown"
-+"Shutdonw"
++"Running"
 
       STRING
     end
diff --git a/c_glib/test/test-decimal128-data-type.rb 
b/c_glib/test/test-decimal128-data-type.rb
index 92f2f47f0b..f0e62c9d13 100644
--- a/c_glib/test/test-decimal128-data-type.rb
+++ b/c_glib/test/test-decimal128-data-type.rb
@@ -41,7 +41,7 @@ class TestDecimal128DataType < Test::Unit::TestCase
     assert_equal(2, data_type.scale)
   end
 
-  def test_deciaml_data_type_new
+  def test_decimal_data_type_new
     assert_equal(Arrow::Decimal128DataType.new(8, 2),
                  Arrow::DecimalDataType.new(8, 2))
   end
diff --git a/c_glib/test/test-decimal256-data-type.rb 
b/c_glib/test/test-decimal256-data-type.rb
index b26f739604..6d803f7ce9 100644
--- a/c_glib/test/test-decimal256-data-type.rb
+++ b/c_glib/test/test-decimal256-data-type.rb
@@ -41,7 +41,7 @@ class TestDecimal256DataType < Test::Unit::TestCase
     assert_equal(2, data_type.scale)
   end
 
-  def test_deciaml_data_type_new
+  def test_decimal_data_type_new
     assert_equal(Arrow::Decimal256DataType.new(39, 1),
                  Arrow::DecimalDataType.new(39, 1))
   end
diff --git a/c_glib/test/test-dictionary-array-builder.rb 
b/c_glib/test/test-dictionary-array-builder.rb
index 4531e44f4a..2d14563c84 100644
--- a/c_glib/test/test-dictionary-array-builder.rb
+++ b/c_glib/test/test-dictionary-array-builder.rb
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-class TestDictinaryArrayBuilder < Test::Unit::TestCase
+class TestDictionaryArrayBuilder < Test::Unit::TestCase
   include Helper::Buildable
 
   def setup
diff --git a/c_glib/test/test-extension-data-type.rb 
b/c_glib/test/test-extension-data-type.rb
index 59c6395e98..6c114b81e2 100644
--- a/c_glib/test/test-extension-data-type.rb
+++ b/c_glib/test/test-extension-data-type.rb
@@ -91,7 +91,7 @@ class TestExtensionDataType < Test::Unit::TestCase
                                              ["a" * 16, nil])
     storage2 = build_fixed_size_binary_array(data_type.storage_data_type,
                                              ["c" * 16])
-    chunkd_array = Arrow::ChunkedArray.new([storage1, storage2])
+    chunked_array = Arrow::ChunkedArray.new([storage1, storage2])
     extension_chunked_array = data_type.wrap_chunked_array(chunked_array)
     assert_equal([
                    data_type,
diff --git a/c_glib/test/test-fixed-size-binary-array.rb 
b/c_glib/test/test-fixed-size-binary-array.rb
index 29189e78a7..8de32c57a6 100644
--- a/c_glib/test/test-fixed-size-binary-array.rb
+++ b/c_glib/test/test-fixed-size-binary-array.rb
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-class TestFixedSizeBinaryrray < Test::Unit::TestCase
+class TestFixedSizeBinaryArray < Test::Unit::TestCase
   include Helper::Buildable
 
   def setup

Reply via email to