Description: Fix tests strings encodings
 Fix the encoding of some string literals in the test code

Bug-Debian: http://bugs.debian.org/720251
Author: David Suárez <david.sephirot@gmail.com>

--- ruby-ipaddress-0.8.0.orig/test/ipaddress/ipv4_test.rb
+++ ruby-ipaddress-0.8.0/test/ipaddress/ipv4_test.rb
@@ -109,7 +109,7 @@ class IPv4Test < Test::Unit::TestCase
   end
 
   def test_method_data
-    assert_equal "\254\020\n\001", @ip.data
+    assert_equal "\254\020\n\001".force_encoding('ASCII-8BIT'), @ip.data
   end
   
   def test_method_to_string
--- ruby-ipaddress-0.8.0.orig/test/ipaddress/ipv6_test.rb
+++ ruby-ipaddress-0.8.0/test/ipaddress/ipv6_test.rb
@@ -180,7 +180,7 @@ class IPv6Test < Test::Unit::TestCase
   end
   
   def test_method_data
-    str = " \001\r\270\000\000\000\000\000\b\b\000 \fAz"
+    str = " \001\r\270\000\000\000\000\000\b\b\000 \fAz".force_encoding('ASCII-8BIT')
     assert_equal str, @ip.data
   end
 
