ruby-changes:67926
From: Hiroshi <ko1@a...>
Date: Sat, 11 Sep 2021 15:17:56 +0900 (JST)
Subject: [ruby-changes:67926] 806583c093 (master): Change include order for test assertions
https://git.ruby-lang.org/ruby.git/commit/?id=806583c093 From 806583c093ecc2d67830f0a8f0d94decf0ed71e5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sat, 11 Sep 2021 15:17:34 +0900 Subject: Change include order for test assertions --- tool/lib/core_assertions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb index 4471525..b4090f2 100644 --- a/tool/lib/core_assertions.rb +++ b/tool/lib/core_assertions.rb @@ -269,7 +269,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/core_assertions.rb#L269 src = <<eom # -*- coding: #{line += __LINE__; src.encoding}; -*- BEGIN { - require "test/unit";include Test::Unit::Assertions;require #{__FILE__.dump};include Test::Unit::CoreAssertions + require "test/unit";include Test::Unit::Assertions;include Test::Unit::CoreAssertions;require #{__FILE__.dump} separated_runner #{res_c&.fileno} } #{line -= __LINE__; src} -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/