Mercurial > hg > nginx-tests
comparison h2.t @ 855:47d64d2fd68d
Tests: adjusted TODOs for HTTP/2 huffman encoding.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 12 Feb 2016 17:18:08 +0300 |
parents | b5c8739961c9 |
children | 75494fb00452 |
comparison
equal
deleted
inserted
replaced
854:b237eda210e3 | 855:47d64d2fd68d |
---|---|
775 | 775 |
776 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; | 776 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; |
777 is($frame->{headers}->{'x-sent-foo'}, 'aaaaa', 'well known chars'); | 777 is($frame->{headers}->{'x-sent-foo'}, 'aaaaa', 'well known chars'); |
778 | 778 |
779 TODO: { | 779 TODO: { |
780 local $TODO = 'not yet'; | 780 local $TODO = 'not yet' unless $t->has_version('1.9.12'); |
781 | 781 |
782 unlike($sess->{headers}, qr/aaaaa/, 'well known chars - huffman encoding'); | 782 unlike($sess->{headers}, qr/aaaaa/, 'well known chars - huffman encoding'); |
783 | 783 |
784 } | 784 } |
785 | 785 |
799 | 799 |
800 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; | 800 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; |
801 is($frame->{headers}->{'x-sent-foo'}, $field, 'all chars'); | 801 is($frame->{headers}->{'x-sent-foo'}, $field, 'all chars'); |
802 | 802 |
803 TODO: { | 803 TODO: { |
804 local $TODO = 'not yet'; | 804 local $TODO = 'not yet' unless $t->has_version('1.9.12'); |
805 | 805 |
806 unlike($sess->{headers}, qr/abcde/, 'all chars - huffman encoding'); | 806 unlike($sess->{headers}, qr/abcde/, 'all chars - huffman encoding'); |
807 | 807 |
808 } | 808 } |
809 | 809 |