This is an automated email from the ASF dual-hosted git repository. gregdove pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit aa01bdcc9f985522e3d2d182735a5295aaa855af Author: greg-dove <[email protected]> AuthorDate: Wed Oct 14 17:37:45 2020 +1300 Add failing JS test for URLVariables --- .../test/royale/flexUnitTests/network/URLVariablesTesterTest.as | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frameworks/projects/Network/src/test/royale/flexUnitTests/network/URLVariablesTesterTest.as b/frameworks/projects/Network/src/test/royale/flexUnitTests/network/URLVariablesTesterTest.as index ef6bd26..40aceb3 100644 --- a/frameworks/projects/Network/src/test/royale/flexUnitTests/network/URLVariablesTesterTest.as +++ b/frameworks/projects/Network/src/test/royale/flexUnitTests/network/URLVariablesTesterTest.as @@ -96,6 +96,14 @@ package flexUnitTests.network assertEquals(tester[''], 'EmptyStringValue', 'unexpected decoded value'); } + + [Test] + public function testDecodingWithPlus():void + { + var tester:URLVariables = new URLVariables('test1=test1Value+with+spaces'); + assertEquals(tester['test1'], 'test1Value with spaces', 'unexpected decoded value'); + + }
