Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ionen-angewandte-physik
AG-Wester
bibtools
Commits
a58c0d36
Commit
a58c0d36
authored
Mar 03, 2020
by
User expired
Browse files
test: More than 4 journal letters in citation key
parent
fa2062c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
test/bib-keyinsert_test
test/bib-keyinsert_test
+5
-0
test/bib-name_test
test/bib-name_test
+5
-0
No files found.
test/bib-keyinsert_test
View file @
a58c0d36
...
...
@@ -98,6 +98,11 @@ testJournalLongName() {
assertEquals
':zp'
"
$(
bib-keyinsert
-s
$fileOne
| getkey
)
"
}
testJournalLetters
()
{
echo
-e
'@Article{,\nJournal = {Proc. Natl. Acad. Sci. U.S.A.},'
>
$fileOne
assertEquals
':pnasusa'
"
$(
bib-keyinsert
$fileOne
| getkey
)
"
}
testJournalAmpersand
()
{
echo
-e
'@Article{,\nJournal = {Organic & Biomolecular Chemistry},'
>
$fileOne
assertEquals
':obc'
"
$(
bib-keyinsert
$fileOne
| getkey
)
"
...
...
test/bib-name_test
View file @
a58c0d36
...
...
@@ -71,6 +71,11 @@ testJournalLongName() {
assertEquals
'__ZP'
"
$(
bib-name
-n
-s
$fileOne
| getname
)
"
}
testJournalLetters
()
{
echo
-e
'@Article{,\nJournal = {Proc. Natl. Acad. Sci. U.S.A.},'
>
$fileOne
assertEquals
'__PNASUSA'
"
$(
bib-name
-n
$fileOne
| getname
)
"
}
testJournalAmpersand
()
{
echo
-e
'@Article{,\nJournal = {Organic & Biomolecular Chemistry},'
>
$fileOne
assertEquals
'__OBC'
"
$(
bib-name
-n
$fileOne
| getname
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment