tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ids.test (552B)


      1 ids
      2 <link rel="help" href="https://w3c.github.io/webvtt/#collect-a-webvtt-block">
      3 
      4 assert_equals(cues.length, 5);
      5 assert_equals(cues[0].id, " leading space");
      6 assert_equals(cues[1].id, "trailing space ");
      7 assert_equals(cues[2].id, "-- >");
      8 assert_equals(cues[3].id, "->");
      9 assert_equals(cues[4].id, " ");
     10 
     11 ===
     12 WEBVTT
     13 
     14 \x20leading space
     15 00:00:00.000 --> 00:00:01.000
     16 text0
     17 
     18 trailing space\x20
     19 00:00:00.000 --> 00:00:01.000
     20 text1
     21 
     22 -- >
     23 00:00:00.000 --> 00:00:01.000
     24 text2
     25 
     26 ->
     27 00:00:00.000 --> 00:00:01.000
     28 text3
     29 
     30 \x20
     31 00:00:00.000 --> 00:00:01.000
     32 text4