Commit ce9cc461 authored by User expired's avatar User expired
Browse files

test: Add incorrect removal of double curly braces

parent 326ddf03
Subproject commit 768978563f74a64d58c2e4438fb5e8071d19b72b
Subproject commit ba130d69bbff304c0c6a9c5e8ab549ae140d6225
......@@ -157,12 +157,27 @@ testCurlyBracketsInField() {
echo ' Field = {some {More} text}' > $fileOne
bib-format $fileOne
assertEquals ' Field = {some {More} text}' "$(cat $fileOne)"
echo ' Field = {{some text}}' > $fileOne
bib-format $fileOne
assertEquals ' Field = {some text}' "$(cat $fileOne)"
echo ' Field = "{some {More} text}"' > $fileOne
bib-format $fileOne
assertEquals ' Field = {some {More} text}' "$(cat $fileOne)"
echo ' Field = {{some {More} text}}' > $fileOne
bib-format $fileOne
assertEquals ' Field = {some {More} text}' "$(cat $fileOne)"
echo ' Field = {{{start} text {end}}}' > $fileOne
bib-format $fileOne
assertEquals ' Field = {{start} text {end}}' "$(cat $fileOne)"
echo ' Field = {{start} text {end}}' > $fileOne
bib-format $fileOne
assertEquals ' Field = {{start} text {end}}' "$(cat $fileOne)"
echo ' Field = {{start} text end}' > $fileOne
bib-format $fileOne
assertEquals ' Field = {{start} text end}' "$(cat $fileOne)"
echo ' Field = {start text {end}}' > $fileOne
bib-format $fileOne
assertEquals ' Field = {start text {end}}' "$(cat $fileOne)"
}
testMergLines() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment