File: minitest.patch

package info (click to toggle)
ruby-jsonpath 1.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 332 kB
  • sloc: ruby: 1,831; makefile: 4
file content (43 lines) | stat: -rw-r--r-- 1,488 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: Use Minitest namespace instead of deprecate MiniTest
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2024-08-29
Forwarded: https://github.com/joshbuddy/jsonpath/pull/168
Index: ruby-jsonpath/test/test_jsonpath.rb
===================================================================
--- ruby-jsonpath.orig/test/test_jsonpath.rb
+++ ruby-jsonpath/test/test_jsonpath.rb
@@ -4,7 +4,7 @@ require 'minitest/autorun'
 require 'jsonpath'
 require 'json'
 
-class TestJsonpath < MiniTest::Unit::TestCase
+class TestJsonpath < Minitest::Test
   def setup
     @object = example_object
     @object2 = example_object
Index: ruby-jsonpath/test/test_jsonpath_bin.rb
===================================================================
--- ruby-jsonpath.orig/test/test_jsonpath_bin.rb
+++ ruby-jsonpath/test/test_jsonpath_bin.rb
@@ -3,7 +3,7 @@
 require 'minitest/autorun'
 require 'jsonpath'
 
-class TestJsonpathBin < MiniTest::Unit::TestCase
+class TestJsonpathBin < Minitest::Test
   def setup
     @runner = 'ruby -Ilib bin/jsonpath'
     @original_dir = Dir.pwd
Index: ruby-jsonpath/test/test_readme.rb
===================================================================
--- ruby-jsonpath.orig/test/test_readme.rb
+++ ruby-jsonpath/test/test_readme.rb
@@ -4,7 +4,7 @@ require 'minitest/autorun'
 require 'jsonpath'
 require 'json'
 
-class TestJsonpathReadme < MiniTest::Unit::TestCase
+class TestJsonpathReadme < Minitest::Test
 
   def setup
     @json = <<-HERE_DOC