summaryrefslogtreecommitdiffstats
path: root/names_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'names_test.go')
-rw-r--r--names_test.go4
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)