mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-29 11:27:34 +00:00
16 lines
213 B
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)))
|
|
|
|
}
|