summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-04-26 17:55:36 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-04-26 18:06:16 +1000
commit3de7413a368e99aba10d5ded042808abd279fb8a (patch)
treedb0ff6534bf491ecae81d6871edbc45ab82e1beb /test
parent50af1bcf63481f63a01da53e4c58b8d0dbe8c07a (diff)
downloadflac-3de7413a368e99aba10d5ded042808abd279fb8a.tar.gz
cuesheet.c: Allow quotes around ISRC field
With this change, flac now accepts cuesheets where the ISRC field is enclosed in double quotes. Added a test for this as well. Closes: https://sourceforge.net/p/flac/bugs/436/
Diffstat (limited to 'test')
-rw-r--r--test/cuesheet.ok1
-rw-r--r--test/cuesheets/good.005.quoted.isrc.cue6
2 files changed, 7 insertions, 0 deletions
diff --git a/test/cuesheet.ok b/test/cuesheet.ok
index c57f833a..dc9c82f0 100644
--- a/test/cuesheet.ok
+++ b/test/cuesheet.ok
@@ -91,3 +91,4 @@ POSITIVE cuesheets/good.001.cue
POSITIVE cuesheets/good.002.dos_format.cue
POSITIVE cuesheets/good.003.missing_final_newline.cue
POSITIVE cuesheets/good.004.dos_format.missing_final_newline.cue
+POSITIVE cuesheets/good.005.quoted.isrc.cue
diff --git a/test/cuesheets/good.005.quoted.isrc.cue b/test/cuesheets/good.005.quoted.isrc.cue
new file mode 100644
index 00000000..3d8e9055
--- /dev/null
+++ b/test/cuesheets/good.005.quoted.isrc.cue
@@ -0,0 +1,6 @@
+TRACK 01 AUDIO
+TITLE "Foo"
+PERFORMER "Bar"
+DISC_ID ""
+ISRC "US-SM1-23-45678"
+INDEX 01 00:00:00