Package: ruby-json / 2.6.3+dfsg-1

0003-Fix-test_generate.patch Patch series | 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
From: Lucas Kanashiro <kanashiro@ubuntu.com>
Date: Thu, 10 Nov 2022 16:52:26 -0300
Subject: tests/ractor_test.rb: make assert_separately available

Require tests/lib/helper.rb to avoid:

NoMethodError: undefined method `assert_separately'

Forwarded: yes, https://github.com/flori/json/pull/506
---
 tests/ractor_test.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/ractor_test.rb b/tests/ractor_test.rb
index 71105e5..2ce9021 100644
--- a/tests/ractor_test.rb
+++ b/tests/ractor_test.rb
@@ -3,6 +3,8 @@
 
 require 'test_helper'
 
+require_relative './lib/helper'
+
 class JSONInRactorTest < Test::Unit::TestCase
   def test_generate
     assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")