diff --git a/test/unit/tech/flash-rtmp.test.js b/test/unit/tech/flash-rtmp.test.js index c0ff3642a5..a9a7bccd82 100644 --- a/test/unit/tech/flash-rtmp.test.js +++ b/test/unit/tech/flash-rtmp.test.js @@ -22,6 +22,10 @@ test('test streamToParts', function() { ok(parts.connection === 'http://myurl.com/'); ok(parts.stream === 'streaming&/is/fun'); + parts = Flash.streamToParts('http://myurl.com/really?streaming=fun&really=fun'); + ok(parts.connection === 'http://myurl.com/'); + ok(parts.stream === 'really?streaming=fun&really=fun'); + parts = Flash.streamToParts('http://myurl.com/streaming/is/fun'); ok(parts.connection === 'http://myurl.com/streaming/is/'); ok(parts.stream === 'fun');