File: fix-test-for-mocha-2.patch

package info (click to toggle)
ruby-net-ssh-multi 1.2.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 312 kB
  • sloc: ruby: 1,308; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS with ruby-mocha 2
Author: Vivek K J <vivekkj@disroot.org>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090871
Last-Update: 2024-12-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/common.rb
+++ b/test/common.rb
@@ -1,5 +1,6 @@
 require 'minitest/autorun'
-require 'mocha/setup'
+# require 'mocha/setup'
+require 'mocha/minitest'
 
 if Minitest.const_defined?('Test')
   # We're on Minitest 5+. Nothing to do here.