github.com/iikira/iikira-go-utils@v0.0.0-20230610031953-f2cb11cde33a/utils/escaper/escaper_test.go (about) 1 package escaper_test 2 3 import ( 4 "fmt" 5 "github.com/iikira/iikira-go-utils/utils/escaper" 6 "testing" 7 ) 8 9 func TestEscape(t *testing.T) { 10 fmt.Println(escaper.Escape(`asdf'asdfasd[]a[\[][sdf\[d]`, []rune{'[', '\''})) 11 }