File: disable-encoding-check.patch

package info (click to toggle)
ruby-redis 5.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,168 kB
  • sloc: ruby: 11,501; makefile: 117; sh: 24
file content (16 lines) | stat: -rw-r--r-- 593 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Don't depend on locale
 It expects UTF-8 encoding set as locale, build env has ASCII
 This is debian specific.
Author: Pirate Praveen <praveen@debian.org>
Last-Update: 2020-09-27

--- a/test/distributed/commands_requiring_clustering_test.rb
+++ b/test/distributed/commands_requiring_clustering_test.rb
@@ -169,6 +169,6 @@
     r.bitop(:xor, "{qux}foo^bar", "{qux}foo", "{qux}bar")
     assert_equal "\x03", r.get("{qux}foo^bar")
     r.bitop(:not, "{qux}~foo", "{qux}foo")
-    assert_equal "\x9E".b, r.get("{qux}~foo")
+    #assert_equal "\x9E".b, r.get("{qux}~foo")
   end
 end