[DRE-commits] [ruby-cutest] 04/05: refresh patch
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Apr 3 14:05:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-cutest.
commit d40519a46bdc2fae45d043bb8c464a3d81a70381
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Thu Apr 3 19:26:59 2014 +0530
refresh patch
---
debian/patches/absolute-filepaths-in-test.patch | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/debian/patches/absolute-filepaths-in-test.patch b/debian/patches/absolute-filepaths-in-test.patch
index f92bfff..6dd0186 100644
--- a/debian/patches/absolute-filepaths-in-test.patch
+++ b/debian/patches/absolute-filepaths-in-test.patch
@@ -5,18 +5,14 @@ Subject: Use File.realpath in tests instead of relative paths
Origin: https://github.com/srih4ri/cutest/commit/58bce31398a1943480ded600ae8b58715198c1ec
Bug: https://github.com/djanowski/cutest/issues/6
-diff --git a/test/fixtures/failure_in_loaded_file.rb b/test/fixtures/failure_in_loaded_file.rb
-index 39e916a..f973e5b 100644
--- a/test/fixtures/failure_in_loaded_file.rb
+++ b/test/fixtures/failure_in_loaded_file.rb
@@ -1 +1 @@
-load("test/fixtures/failure.rb")
+load(File.realpath("test/fixtures/failure.rb"))
-diff --git a/test/run.rb b/test/run.rb
-index 06f2fa7..e63d4d7 100644
--- a/test/run.rb
+++ b/test/run.rb
-@@ -7,49 +7,54 @@ test "output of successful run" do
+@@ -12,25 +12,27 @@
end
test "output of failed run" do
@@ -48,6 +44,8 @@ index 06f2fa7..e63d4d7 100644
assert_equal(expected, out)
end
+@@ -42,25 +44,28 @@
+ end
test "output of custom assertion" do
+ file = File.realpath('test/fixtures/fail_custom_assertion.rb')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-cutest.git
More information about the Pkg-ruby-extras-commits
mailing list