Skip to content

Commit

Permalink
Fix encoding usage for Prism 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
herwinw committed Oct 18, 2024
1 parent 1480453 commit 539d828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/bytecode/puts_string_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
code = <<~RUBY
# -*- encoding: utf-8 -*-
puts "😊".encoding
puts "\xF0\x9F\x98\x8A".encoding
RUBY
ruby_exe(code, options: "--compile-bytecode #{@bytecode_file}")

Expand All @@ -33,7 +33,7 @@
code = <<~RUBY
# -*- encoding: binary -*-
puts "😊".encoding
puts "\xF0\x9F\x98\x8A".encoding
RUBY
ruby_exe(code, options: "--compile-bytecode #{@bytecode_file}")

Expand Down

0 comments on commit 539d828

Please sign in to comment.