mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-17 05:35:00 +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)))
|
||
|
|
||
|
}
|