summaryrefslogtreecommitdiff
path: root/stringfunc_test.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2017-06-13 23:07:10 -0400
committerDave Henderson <dhenderson@gmail.com>2017-06-13 23:26:37 -0400
commitded0bcc8efc1bd95700774dfa2840dd83bc876fd (patch)
tree93157cbd0b4ad6939d76ce30c873c8fd3bb8a9be /stringfunc_test.go
parentfc522f1213eb96e23ea9d113591892a26f9f2ec3 (diff)
Creating a strings namespace
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
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"))
-}