[DRE-commits] [ruby-pygments.rb] 03/06: Revert "change fragile test"

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Feb 7 22:37:22 UTC 2015


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

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

commit a23fdb4fe25318ee531d8c087ceeb3a2713276e8
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Feb 7 12:06:49 2015 -0200

    Revert "change fragile test"
    
    This reverts commit ad590d0a84d58d847a6568ae872fa092dfd22f3d.
---
 debian/patches/0007-Update-test-result.patch | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/patches/0007-Update-test-result.patch b/debian/patches/0007-Update-test-result.patch
index 5522e42..89b7619 100644
--- a/debian/patches/0007-Update-test-result.patch
+++ b/debian/patches/0007-Update-test-result.patch
@@ -1,15 +1,18 @@
-Description: make test less fragile
+Description: Update test result
+Subject: Update test result
+ Using old test result.
 
-Author: Antonio Terceiro <terceiro at debian.org>
+ 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 @@ class PygmentsHighlightTest < Test::Unit
+@@ -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 code.bytesize.to_i > 400_000
++    assert_equal 454107, code.bytesize.to_i
    end
  
    def test_returns_nil_on_timeout

-- 
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