# File test/test_response.rb, line 151 def test_parse_line_with_invalid_version pio = PseudoIO.new pio << "HTTP/6.6.6 200 OK\r\n" pio << "Content-Type: text/html\r\n" assert_exception(Rucy::ParseError) { @response.parse_line(pio) } end