diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2016-03-15 22:12:44 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2016-03-15 22:12:44 -0400 |
| commit | 58011496071a49e8f5f916a0416c36806ee94614 (patch) | |
| tree | c32bb04676b54ae0718fb68f97b984b970456628 /names_test.go | |
| parent | 9a5261e37badd5422b8c16d93a5b1663c4be602f (diff) | |
| download | bibtex-58011496071a49e8f5f916a0416c36806ee94614.tar.gz | |
Add crossref resolution, minor api changes, first template inspired by plain.bst
Diffstat (limited to 'names_test.go')
| -rw-r--r-- | names_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/names_test.go b/names_test.go index 2d74f1c..36aa441 100644 --- a/names_test.go +++ b/names_test.go @@ -125,7 +125,7 @@ func TestIsLower(t *testing.T) { } } -func TestRemoveLatex(t *testing.T) { +func TestUnTex(t *testing.T) { tests := []struct { s string expected string @@ -133,7 +133,7 @@ func TestRemoveLatex(t *testing.T) { {"\\' a\\OE{\\c {cd}}\\&{\\emph{test}}", "áŒç&test"}, } for _, test := range tests { - actual := removeLatexCommands(test.s) + actual := UnTex(test.s) if test.expected != actual { t.Errorf("%q, expected: %q, actual: %q", test.s, test.expected, actual) |
