Skip to content

Commit

Permalink
portable-ruby: update test for Ruby 3.4 syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <[email protected]>
  • Loading branch information
p-linnane committed Dec 25, 2024
1 parent d6413c3 commit 57a51e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/portable-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def install
shell_output("#{ruby} -rzlib -e 'puts Zlib.crc32(\"test\")'").chomp
assert_equal " \t\n`><=;|&{(",
shell_output("#{ruby} -rreadline -e 'puts Readline.basic_word_break_characters'").chomp
assert_equal '{"a"=>"b"}',
assert_equal '{"a" => "b"}',
shell_output("#{ruby} -ryaml -e 'puts YAML.load(\"a: b\")'").chomp
assert_equal "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
shell_output("#{ruby} -ropenssl -e 'puts OpenSSL::Digest::SHA256.hexdigest(\"\")'").chomp
Expand Down

0 comments on commit 57a51e1

Please sign in to comment.