summaryrefslogtreecommitdiff
path: root/stringfunc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'stringfunc_test.go')
-rw-r--r--stringfunc_test.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/stringfunc_test.go b/stringfunc_test.go
deleted file mode 100644
index 62d95dcb..00000000
--- a/stringfunc_test.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package main
-
-import (
- "testing"
-
- "github.com/stretchr/testify/assert"
-)
-
-func TestReplaceAll(t *testing.T) {
- sf := &stringFunc{}
-
- assert.Equal(t, "Replaced",
- sf.replaceAll("Orig", "Replaced", "Orig"))
- assert.Equal(t, "ReplacedReplaced",
- sf.replaceAll("Orig", "Replaced", "OrigOrig"))
-}