mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove ancient tests for CGI parsing bug
This commit is contained in:
parent
28b65c9120
commit
63b4fe53ab
1 changed files with 0 additions and 30 deletions
|
@ -80,36 +80,6 @@ class UrlEncodedParamsParsingTest < ActionController::IntegrationTest
|
|||
assert_parses expected, query
|
||||
end
|
||||
|
||||
test "parses params with non alphanumeric name" do
|
||||
query = "a/b[c]=d"
|
||||
expected = { "a/b" => { "c" => "d" }}
|
||||
assert_parses expected, query
|
||||
end
|
||||
|
||||
test "parses params with single brackets in the middle" do
|
||||
query = "a/b[c]d=e"
|
||||
expected = { "a/b" => {} }
|
||||
assert_parses expected, query
|
||||
end
|
||||
|
||||
test "parses params with separated brackets" do
|
||||
query = "a/b@[c]d[e]=f"
|
||||
expected = { "a/b@" => { }}
|
||||
assert_parses expected, query
|
||||
end
|
||||
|
||||
test "parses params with separated brackets and array" do
|
||||
query = "a/b@[c]d[e][]=f"
|
||||
expected = { "a/b@" => { }}
|
||||
assert_parses expected, query
|
||||
end
|
||||
|
||||
test "parses params with unmatched brackets and array" do
|
||||
query = "a/b@[c][d[e][]=f"
|
||||
expected = { "a/b@" => { "c" => { }}}
|
||||
assert_parses expected, query
|
||||
end
|
||||
|
||||
test "parses params with nil key" do
|
||||
query = "=&test2=value1"
|
||||
expected = { "test2" => "value1" }
|
||||
|
|
Loading…
Reference in a new issue