# File test/test_request.rb, line 307 def test_parse_line_with_invalid_version pio = PseudoIO.new pio << "GET /foo/bar HTTP/6.6.6\r\n" assert_exception(Rucy::ParseError) { @request.parse_line(pio) } end