From 43d21a459d48c0395640dfd5484328bf16973e3f Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sat, 31 Dec 2016 13:30:00 -0200 Subject: [PATCH] split tests --- split/split_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 split/split_test.go diff --git a/split/split_test.go b/split/split_test.go new file mode 100644 index 000000000..f064c8625 --- /dev/null +++ b/split/split_test.go @@ -0,0 +1,13 @@ +package split + +import ( + "testing" + "github.com/stretchr/testify/assert" +) + +func TestSplit(t *testing.T) { + assert := assert.New(t) + a, b := OnSlash("a/b") + assert.Equal("a", a) + assert.Equal("b", b) +}