[DRE-commits] [ruby-mini-magick] 01/01: Add patch to fix tests

Balasankar C balasankarc-guest at moszumanska.debian.org
Wed Jun 28 10:16:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

balasankarc-guest pushed a commit to branch master
in repository ruby-mini-magick.

commit b14d2a565082770a1c453019822d0bef013b920c
Author: Balasankar C <balasankarc at autistici.org>
Date:   Wed Jun 28 15:46:38 2017 +0530

    Add patch to fix tests
---
 debian/patches/fix-quotes-in-tests.patch | 16 ++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/fix-quotes-in-tests.patch b/debian/patches/fix-quotes-in-tests.patch
new file mode 100644
index 0000000..e4904f2
--- /dev/null
+++ b/debian/patches/fix-quotes-in-tests.patch
@@ -0,0 +1,16 @@
+Description: Fix quotes used in tests to match the actual output from imagemagick
+Author: Balasankar C <balasankarc at autistici.org>
+Last-Update: 2017-06-28
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/lib/mini_magick/shell_spec.rb
++++ b/spec/lib/mini_magick/shell_spec.rb
+@@ -51,7 +51,7 @@
+           stdout, stderr, status = subject.execute(%W[identify foo])
+ 
+           expect(stdout).to eq ""
+-          expect(stderr).to match("unable to open image 'foo'")
++          expect(stderr).to match("unable to open image `foo'")
+           expect(status).to eq 1
+         end
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 8907783..3eed83c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 #remove-unsuported-rspec-features
+fix-quotes-in-tests.patch
 skip-tests-temporarily.patch
 remove-rubygems
 remove-deprecated-test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mini-magick.git



More information about the Pkg-ruby-extras-commits mailing list