mirror of https://github.com/jlelse/GoBlog
parent
41511df0e5
commit
9815abf4bb
@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func Test_searchEncoding(t *testing.T) {
|
||||
|
||||
testString := "test"
|
||||
|
||||
assert.Equal(t, testString, searchDecode(searchEncode(testString)))
|
||||
|
||||
}
|
Loading…
Reference in new issue