1
mirror of https://github.com/jlelse/GoBlog synced 2024-05-30 12:34:27 +00:00
GoBlog/search_test.go

16 lines
213 B
Go

package main
import (
"testing"
"github.com/stretchr/testify/assert"
)
func Test_searchEncoding(t *testing.T) {
testString := "test"
assert.Equal(t, testString, searchDecode(searchEncode(testString)))
}