File: openstruct.patch

package info (click to toggle)
ruby-redis-store 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 320 kB
  • sloc: ruby: 1,514; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: require 'ostruct' in tests using OpenStruct class
Author: Cédric Boutillier <boutil@debian.org>
Bug-Debian: https://bugs.debian.org/1005422
Last-Update: 2022-11-22

--- a/test/redis/distributed_store_test.rb
+++ b/test/redis/distributed_store_test.rb
@@ -1,4 +1,5 @@
 require 'test_helper'
+require 'ostruct'
 
 describe "Redis::DistributedStore" do
   def setup
--- a/test/redis/store/serialization_test.rb
+++ b/test/redis/store/serialization_test.rb
@@ -1,4 +1,5 @@
 require 'test_helper'
+require 'ostruct'
 
 describe "Redis::Serialization" do
   def setup