aboutsummaryrefslogtreecommitdiff
path: root/util/util_test.go
blob: 2b11a5941425e63b66f6496413b70c9846bfa8f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package util

import "testing"

func TestNormalizeString(t *testing.T) {
	if NormalizeString("‼") != "!!" {
		t.Error("‼ was not normalized to !!")
	}
	if NormalizeString("!") != "!" {
		t.Error("! was not normalized to !")
	}
}