[DRE-commits] [ruby-slim] 05/06: Revert an upstream patch to fix 'pretty' test case

Jérémy Bobbio lunar at moszumanska.debian.org
Sat Apr 12 15:19:36 UTC 2014


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

lunar pushed a commit to branch master
in repository ruby-slim.

commit 86eec18d49d739a3681d0946a97b1aafc28ded22
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Apr 11 10:09:30 2014 +0200

    Revert an upstream patch to fix 'pretty' test case
---
 debian/patches/0002-fix-test-cases.patch | 35 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 36 insertions(+)

diff --git a/debian/patches/0002-fix-test-cases.patch b/debian/patches/0002-fix-test-cases.patch
new file mode 100644
index 0000000..ef97506
--- /dev/null
+++ b/debian/patches/0002-fix-test-cases.patch
@@ -0,0 +1,35 @@
+Reverted patch from Daniel Mendler <mail at daniel-mendler.de>
+Date: Tue, 22 Oct 2013 20:11:54 +0200
+Subject: [PATCH] fix test cases
+
+reverted:
+--- b/test/core/test_pretty.rb
++++ a/test/core/test_pretty.rb
+@@ -41,7 +41,10 @@
+     result = %q{<!DOCTYPE html>
+ <html>
+   <head>
++    <title>
++      Hello World!
++    </title>
++    <!--Meta tags
+-    <title>Hello World!</title><!--Meta tags
+     with long explanatory
+     multiline comment-->
+     <meta content="template language" name="description" />
+reverted:
+--- b/test/literate/TESTS.md
++++ a/test/literate/TESTS.md
+@@ -213,7 +213,11 @@
+ renders as
+ 
+ ~~~ html
++<html><head>
++<title>
++  Example
++</title>
++</head>
+-<html><head><title>Example</title></head>
+ <body>
+   yes
+ </body>
diff --git a/debian/patches/series b/debian/patches/series
index b245259..e29a41f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Drop-tests-using-Sinatra-from-Rakefile.patch
+0002-fix-test-cases.patch

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



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