[DRE-commits] [ruby-hpricot] 02/03: d/ruby-tests.rb: force encoding to UTF-8, to make tests work

Jonas Genannt jonas at brachium-system.net
Tue Dec 31 11:03:25 UTC 2013


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

hggh-guest pushed a commit to branch master
in repository ruby-hpricot.

commit aeec43a631c1ecdb619b02f09200454e7950a2bc
Author: Jonas Genannt <jonas.genannt at capi2name.de>
Date:   Tue Dec 31 11:58:39 2013 +0100

    d/ruby-tests.rb: force encoding to UTF-8, to make tests work
---
 debian/ruby-tests.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 6f62f33..417af14 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,3 +1,4 @@
 $: << 'test'
 system("find -name fast_xs.so -delete")
+Encoding.default_external = "UTF-8"
 Dir['test/test*.rb'].each { |f| require f }

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



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