[DRE-commits] [ruby-bluecloth] 01/05: update 06_update_test_suite.patch
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Jul 8 20:13:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-bluecloth.
commit 687b06f65a4da5a1f80e10164fd0a1f1d77248de
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Jul 8 21:48:07 2015 +0200
update 06_update_test_suite.patch
---
debian/patches/06_update_test_suite.patch | 39 ++++++++++++++++++++++++++++++-
1 file changed, 38 insertions(+), 1 deletion(-)
diff --git a/debian/patches/06_update_test_suite.patch b/debian/patches/06_update_test_suite.patch
index c4bf87c..a91cb99 100644
--- a/debian/patches/06_update_test_suite.patch
+++ b/debian/patches/06_update_test_suite.patch
@@ -8,12 +8,23 @@ Description: adapt the test suite to newer version of discount/libmarkdown
See: https://github.com/Orc/discount/commit/a888c16a4fc18d614477f3ca7286cf66a4767e3c
- Non interpretation of definition lists: indentation is not enough to start a
code block. A new paragraph is needed
+ - removed spaces in the beginning of items
+ - be_true transformed to be_truthy to adapt to RSpec3
Author: Cédric Boutillier <boutil at debian.org>
Forwarded: no
-Last-Update: 2014-08-23
+Last-Update: 2015-07-08
--- a/spec/bluecloth_spec.rb
+++ b/spec/bluecloth_spec.rb
+@@ -33,7 +33,7 @@
+ BlueCloth::Matchers
+
+ it "defines the top-level Markdown constant" do
+- Object.const_defined?('Markdown').should be_true()
++ Object.const_defined?('Markdown').should be_truthy
+ # :FIXME: This is probably a fragile test, as anything else that defines it before
+ # the BlueCloth tests run could lead to a false failure. I at least know that it'll
+ # work in my environment, and I'm not sure how else to test it.
@@ -170,8 +170,8 @@
it "correctly adds IDs to headers when :header_labels is enabled" do
@@ -77,3 +88,29 @@ Last-Update: 2014-08-23
<p>Orange
: The fruit of an evergreen tree of the genus Citrus.</p>
+--- a/spec/bluecloth/101_changes_spec.rb
++++ b/spec/bluecloth/101_changes_spec.rb
+@@ -120,8 +120,8 @@
+ <h2>This is a header.</h2>
+
+ <ol>
+- <li> This is the first list item.</li>
+- <li> This is the second list item.</li>
++ <li>This is the first list item.</li>
++ <li>This is the second list item.</li>
+ </ol>
+
+ <p>Here's some example code:</p>
+--- a/spec/bluecloth/blockquotes_spec.rb
++++ b/spec/bluecloth/blockquotes_spec.rb
+@@ -95,8 +95,8 @@
+ <blockquote><h2>This is a header.</h2>
+
+ <ol>
+- <li> This is the first list item.</li>
+- <li> This is the second list item.</li>
++ <li>This is the first list item.</li>
++ <li>This is the second list item.</li>
+ </ol>
+
+ <p>Here's some example code:</p>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-bluecloth.git
More information about the Pkg-ruby-extras-commits
mailing list