aboutsummaryrefslogtreecommitdiffstats
path: root/test/plum/hpack/test_huffman.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/plum/hpack/test_huffman.rb')
-rw-r--r--test/plum/hpack/test_huffman.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/plum/hpack/test_huffman.rb b/test/plum/hpack/test_huffman.rb
index 27c3411..d30f759 100644
--- a/test/plum/hpack/test_huffman.rb
+++ b/test/plum/hpack/test_huffman.rb
@@ -1,6 +1,6 @@
-require "test_helper"
+require_relative "../../utils"
-class HPACKHuffmanTest < Minitest::Test
+class HPACKHuffmanTest < Test::Unit::TestCase
def test_hpack_huffman_encode
text = "\x10\x60\x2a\x1d\x94\x47\x82\x2c\x3d\x19\xbf\x8e\xd9\x24\xba\xe6\xb4\x1a\xe1\x5c\x39\x0f\x61\xf4\x3b\x08\x62\x54\x15\x0c"
expected = "\xff\xff\xfe\xdf\xff\xbf\x3f\xff\xff\xf3\xff\xff\xdd\x8b\xff\xf9\xfe\xa0\xff\xff\xff\x5f\xff\xfe\x3f\xff\xfd\x7f\xff\xe5\xff\xcf\xff\xfc\x7f\xff\xe8\xff\xff\xdb\xff\xff\xfe\xdf\xff\xfe\x7f\xff\xc1\xff\xff\xff\xec\x1f\xff\xff\xe7\xfb\xff\xff\xfe\x88\xf7\xff\xff\xff\x97\xff\xff\xf5\x7f"