Skip to content

minitest testsuite failure with ruby3.4.0dev #9721

@mtasaka

Description

@mtasaka

Testing with ruby 3.4.0dev (2024-11-29 master 84b14c0385) +PRISM [x86_64-linux]
ruby/ruby@84b14c0

On jekyll git head 0e4182a
minitest testsuite fails like:

+ env TZ=UTC ruby -Ilib:test -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
# -------------------------------------------------------------
# SPECS AND TESTS ARE RUNNING WITH WARNINGS OFF.
# SEE: https://github.com/Shopify/liquid/issues/730
# SEE: https://github.com/jekyll/jekyll/issues/4719
# -------------------------------------------------------------
Run options: --seed 43620


...

Finished in 35.562540s, 25.3919 runs/s, 56.4920 assertions/s.

  1) Failure:
TestFilters#test_: filters inspect filter should return a HTML-escaped string representation of an object.  [test/test_filters.rb:1460]:
--- expected
+++ actual
@@ -1 +1 @@
-"{"<a>"=>1}"
+"{"<a>" => 1}"


903 runs, 2009 assertions, 1 failures, 0 errors, 0 skips

This is most likely due to
https://github.com/ruby/ruby/blob/f9d0bc22f5ca019f3c517b42ea4a50867fe56700/NEWS.md?plain=1#L240-L243
https://bugs.ruby-lang.org/issues/20433

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions