mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
See: https://github.com/svenfuchs/test_declarative/pull/24 Closes: https://bugs.gentoo.org/912063 Bug: https://bugs.gentoo.org/917059 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Sam James <sam@gentoo.org>
30 lines
1008 B
Diff
30 lines
1008 B
Diff
https://bugs.gentoo.org/912063
|
|
https://github.com/svenfuchs/test_declarative/pull/24
|
|
|
|
From ef9561b703990a846aa49c0f4d164009b355f0cd Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
|
|
Date: Tue, 22 Aug 2023 16:32:34 +0200
|
|
Subject: [PATCH] Use Minitest::Test as a test runner
|
|
|
|
The Minitest::Unit is deprecated since Minitest 5.0 and it was recenlty
|
|
put behind environment variable:
|
|
|
|
https://github.com/minitest/minitest/commit/a2c6c18570f6f0a1bf6af70fe3b6d9599a13fdd6
|
|
---
|
|
test/test_declarative_test.rb | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/test/test_declarative_test.rb b/test/test_declarative_test.rb
|
|
index 6ef4220..a3ab0ae 100644
|
|
--- a/test/test_declarative_test.rb
|
|
+++ b/test/test_declarative_test.rb
|
|
@@ -13,7 +13,7 @@ def gemfile_name
|
|
# Minitest >= 5
|
|
require 'minitest/autorun'
|
|
TEST_CASE = Minitest::Test
|
|
- RUNNER = Minitest::Unit
|
|
+ RUNNER = Minitest::Test
|
|
when 'Gemfile.minitest4'
|
|
# Minitest < 5
|
|
require 'minitest/autorun'
|