@@ -27,8 +27,8 @@ describe('Request object version 1.0', () => {
2727 'd[1]' : '1' ,
2828 'd[0]' : '0' ,
2929 'shoe[color]' : 'yellow' ,
30- email : 'test%2Buser%40gmail .com' ,
31- math : '1%2B2 '
30+ email : 'test+user@gmail .com' ,
31+ math : '1+2 '
3232 } ,
3333 multiValueQueryStringParameters : {
3434 a : [ '1' ] ,
@@ -37,8 +37,8 @@ describe('Request object version 1.0', () => {
3737 'd[1]' : [ '1' ] ,
3838 'd[0]' : [ '0' ] ,
3939 'shoe[color]' : [ 'yellow' ] ,
40- email : [ 'test%2Buser%40gmail .com' ] ,
41- math : [ '1%2B2 ' , '4%2B5 ' ]
40+ email : [ 'test+user@gmail .com' ] ,
41+ math : [ '1+2 ' , '4+5 ' ]
4242 } ,
4343 stageVariables : { } ,
4444 requestContext : { } ,
@@ -200,7 +200,8 @@ describe('Request object version 2.0', () => {
200200 routeKey : '$default' ,
201201 rawPath : '/my/path' ,
202202 rawQueryString :
203- 'a=1&b=1&b=2&c[]=-firstName&c[]=lastName&d[1]=1&d[0]=0&shoe[color]=yellow&email=test%2Buser%40gmail.com&math=1%2B2&&math=4%2B5&' ,
203+ 'a=1&b=1&b=2&c[]=-firstName&c[]=lastName&d[1]=1&d[0]=0&shoe[color]=yellow&email=test+user@gmail.com&math=1+2&&math=4+5&' ,
204+
204205 cookies : [ 'cookie1' , 'cookie2' ] ,
205206 headers : {
206207 'Content-Type' : 'application/json' ,
@@ -214,8 +215,8 @@ describe('Request object version 2.0', () => {
214215 'd[1]' : '1' ,
215216 'd[0]' : '0' ,
216217 'shoe[color]' : 'yellow' ,
217- email : 'test%2Buser%40gmail .com' ,
218- math : '1%2B2 '
218+ email : 'test+user@gmail .com' ,
219+ math : '1+2 '
219220 } ,
220221 requestContext : {
221222 accountId : '123456789012' ,
0 commit comments