summaryrefslogtreecommitdiff
path: root/replacer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'replacer_test.go')
-rw-r--r--replacer_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/replacer_test.go b/replacer_test.go
index fa9b569..88e83f5 100644
--- a/replacer_test.go
+++ b/replacer_test.go
@@ -133,7 +133,7 @@ func TestReplacerSet(t *testing.T) {
func TestReplacerReplaceKnown(t *testing.T) {
rep := replacer{
- providers: []ReplacementFunc{
+ providers: []ReplacerFunc{
// split our possible vars to two functions (to test if both functions are called)
func(key string) (val string, ok bool) {
switch key {
@@ -239,7 +239,7 @@ func TestReplacerDelete(t *testing.T) {
func TestReplacerMap(t *testing.T) {
rep := testReplacer()
- for i, tc := range []ReplacementFunc{
+ for i, tc := range []ReplacerFunc{
func(key string) (val string, ok bool) {
return "", false
},
@@ -317,7 +317,7 @@ func TestReplacerNew(t *testing.T) {
func testReplacer() replacer {
return replacer{
- providers: make([]ReplacementFunc, 0),
+ providers: make([]ReplacerFunc, 0),
static: make(map[string]string),
}
}