From 040911770f9ea5ed8ed79a00437f75e7a14fd8be Mon Sep 17 00:00:00 2001 From: Masaki Suketa Date: Sun, 24 Nov 2024 15:29:26 +0900 Subject: [PATCH] add frozen_string_literal:true in test/duckdb_test/result_test.rb. --- test/duckdb_test/result_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/duckdb_test/result_test.rb b/test/duckdb_test/result_test.rb index da114f52..82972b86 100644 --- a/test/duckdb_test/result_test.rb +++ b/test/duckdb_test/result_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' module DuckDBTest @@ -275,7 +277,7 @@ def expected_timestamp end def expected_blob - 'blob'.force_encoding('ASCII-8BIT') + 'blob'.encode('ASCII-8BIT') end def first_record