File: 0004-Require-ostruct-in-test.patch

package info (click to toggle)
ruby-clockwork 4.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: ruby: 1,670; makefile: 4
file content (28 lines) | stat: -rw-r--r-- 813 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
22
23
24
25
26
27
28
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Tue, 22 Feb 2022 15:21:48 +0100
Subject: Require ostruct in test
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Bug-Debian: https://bugs.debian.org/1005446
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2022-02-22
---
 test/database_events/event_store_test.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/test/database_events/event_store_test.rb
+++ b/test/database_events/event_store_test.rb
@@ -1,3 +1,4 @@
+require 'ostruct'
 require "minitest/autorun"
 require 'clockwork/database_events/event_store'
 require 'clockwork/database_events/event_collection'
@@ -22,4 +23,4 @@
       subject.register(event, model)
     end
   end
-end
\ No newline at end of file
+end