File: 0003-Use-Minitest-namespace.patch

package info (click to toggle)
ruby-barby 0.6.8%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 500 kB
  • sloc: ruby: 4,169; java: 1,228; makefile: 9
file content (25 lines) | stat: -rw-r--r-- 674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Tue, 20 Aug 2024 19:05:02 +0200
Subject: Use Minitest namespace

instead of deprecated MiniTest, not supported
with the minitest version shipped with ruby3.3

Forwarded: https://github.com/toretore/barby/pull/118
---
 test/test_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_helper.rb b/test/test_helper.rb
index 09f7db5..68846fd 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -4,7 +4,7 @@ require 'minitest/autorun'
 require 'minitest/spec'
 
 module Barby
-  class TestCase < MiniTest::Spec
+  class TestCase < Minitest::Spec
 
     include Barby