[DRE-commits] [ruby-pygments.rb] 03/07: Add patch to update test result

Per Andersson avtobiff-guest at moszumanska.debian.org
Fri Apr 4 02:07:00 UTC 2014


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

avtobiff-guest pushed a commit to branch master
in repository ruby-pygments.rb.

commit c73fc9bd23d3161c113dc4b153b6f1c4e08470b1
Author: Per Andersson <avtobiff at gmail.com>
Date:   Fri Apr 4 03:56:14 2014 +0200

    Add patch to update test result
---
 debian/patches/0007-Update-test-result.patch | 18 ++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/0007-Update-test-result.patch b/debian/patches/0007-Update-test-result.patch
new file mode 100644
index 0000000..89b7619
--- /dev/null
+++ b/debian/patches/0007-Update-test-result.patch
@@ -0,0 +1,18 @@
+Description: Update test result
+Subject: Update test result
+ Using old test result.
+
+ Already reported upstream https://github.com/tmm1/pygments.rb/issues/118
+Author: Per Andersson <avtobiff at gmail.com>
+---
+--- a/test/test_pygments.rb
++++ b/test/test_pygments.rb
+@@ -32,7 +32,7 @@
+   def test_highlight_works_with_larger_files
+     code = P.highlight(REDIS_CODE)
+     assert_match 'used_memory_peak_human', code
+-    assert_equal 455203, code.bytesize.to_i
++    assert_equal 454107, code.bytesize.to_i
+   end
+ 
+   def test_returns_nil_on_timeout
diff --git a/debian/patches/series b/debian/patches/series
index fa0a2e7..d2a5edd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Remove-unshipped-custom-lexers.patch
 0005-Use-proper-python-shebang.patch
 0006-Invoke-mentos-directly-on-GNU-Linux.patch
+0007-Update-test-result.patch

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



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