From 051ee998343b78467f4457a8c183e52e12b9175f Mon Sep 17 00:00:00 2001 From: bloomtom Date: Thu, 26 Jan 2023 19:51:37 -0500 Subject: [PATCH] Removes incorrectly merged code segment --- test/text/vtt_text_parser_unit.js | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/test/text/vtt_text_parser_unit.js b/test/text/vtt_text_parser_unit.js index b01cb3ad0d4..25c3a578f66 100644 --- a/test/text/vtt_text_parser_unit.js +++ b/test/text/vtt_text_parser_unit.js @@ -672,33 +672,6 @@ describe('VttTextParser', () => { {periodStart: 0, segmentStart: 0, segmentEnd: 0, vttOffset: 0}); }); - it('supports an extra newline inside the cue body', () => { - verifyHelper( - [ - {startTime: 20, endTime: 40, payload: 'Test'}, - {startTime: 40, endTime: 50, payload: 'Test2'}, - ], - 'WEBVTT\n\n' + - '00:00:20.000 --> 00:00:40.000\n' + - 'Test\n\nExtra line\n\n' + - '00:00:40.000 --> 00:00:50.000\n' + - 'Test2', - {periodStart: 0, segmentStart: 0, segmentEnd: 0}); - }); - - it('supports an extra newline before the cue body', () => { - verifyHelper( - [ - {startTime: 20, endTime: 40, payload: ''}, - {startTime: 40, endTime: 50, payload: 'Test2'}, - ], - 'WEBVTT\n\n' + - '00:00:20.000 --> 00:00:40.000\n' + - '\nTest\n\n' + - '00:00:40.000 --> 00:00:50.000\n' + - 'Test2', - {periodStart: 0, segmentStart: 0, segmentEnd: 0}); - it('supports global style blocks without blank lines', () => { verifyHelper( [ @@ -1217,7 +1190,7 @@ describe('VttTextParser', () => { 'test\n\n', {periodStart: 0, segmentStart: 0, segmentEnd: 0, vttOffset: 0}); }); - + it('supports an extra newline inside the cue body', () => { verifyHelper( [