From: nobu@... Date: 2019-09-21T08:01:29+00:00 Subject: [ruby-core:95015] [Ruby master Bug#16174] Feature #15958 triggers Rails unit test failure Issue #16174 has been updated by nobu (Nobuyoshi Nakada). https://github.com/rails/rails/pull/37262 ---------------------------------------- Bug #16174: Feature #15958 triggers Rails unit test failure https://bugs.ruby-lang.org/issues/16174#change-81642 * Author: yahonda (Yasuo Honda) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.7.0dev (2019-09-19T11:20:15Z 5208c431be 5208c431be) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Let me inform one of Rails Active Record unit test get failed since https://bugs.ruby-lang.org/issues/15958 I prefer this change but let me inform because it may be one of incompatibility. * Steps to reproduce ``` ruby git clone https://github.com/rails/rails.git cd rails/activerecord bundle update --bundler bundle install bin/test test/cases/core_test.rb -n test_pretty_print_persisted ``` * Expected output It should pass. * Actual result ```ruby F Failure: CoreTest#test_pretty_print_persisted [/home/yahonda/git/rails/activerecord/test/cases/core_test.rb:96]: Expected /\A#]+> \z/ to match "#\n". bin/test test/cases/core_test.rb:71 Finished in 0.020740s, 48.2163 runs/s, 96.4325 assertions/s. 1 runs, 2 assertions, 1 failures, 0 errors, 0 skips ``` * Ruby version - Reproduced with: ``` $ ruby -v ruby 2.7.0dev (2019-09-19T11:20:15Z 5208c431be 5208c431be) [x86_64-linux] ``` - Not reproduced with ``` $ ruby -v ruby 2.7.0dev (2019-09-19T10:40:44Z 2698f13 2698f13a1f) [x86_64-linux] ``` -- https://bugs.ruby-lang.org/ Unsubscribe: