]> jfr.im git - yt-dlp.git/blobdiff - test/test_YoutubeDL.py
[outtmpl] Allow `\n` in replacements and default.
[yt-dlp.git] / test / test_YoutubeDL.py
index 8da1e5e4b27ce4cdbc9e7d6b7d4fc6073ac0c3b2..49ae9e2b1227a50eff53992c19c89d2689b528cd 100644 (file)
@@ -822,6 +822,7 @@ def expect_same_infodict(out):
         test('%(title&foo|baz)s.bar', 'baz.bar')
         test('%(x,id&foo|baz)s.bar', 'foo.bar')
         test('%(x,title&foo|baz)s.bar', 'baz.bar')
+        test('%(title&\n|)s', '\n')
 
         # Laziness
         def gen():