summaryrefslogtreecommitdiff
path: root/biblio/bibtex/utils/bibtexperllibs/BibTeX-Parser/t/12-von_token.t
blob: 6daceafa9604d13ca1466739daaa00f815404a2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl -w

use Test::More tests => 5;

use BibTeX::Parser::Author;
use IO::File;

is(BibTeX::Parser::Author::_is_von_token('von'),1);
is(BibTeX::Parser::Author::_is_von_token('Von'),0);
is(BibTeX::Parser::Author::_is_von_token('\noop{von}Von'),1);
is(BibTeX::Parser::Author::_is_von_token('\noop{Von}von'),0);
is(BibTeX::Parser::Author::_is_von_token('\noop{AE}{\AE}schylus'),0);