github.com/qjfoidnh/BaiduPCS-Go@v0.0.0-20231011165705-caa18a3765f3/pcsutil/escaper/escaper_test.go (about)

     1  package escaper_test
     2  
     3  import (
     4  	"fmt"
     5  	"github.com/qjfoidnh/BaiduPCS-Go/pcsutil/escaper"
     6  	"testing"
     7  )
     8  
     9  func TestEscape(t *testing.T) {
    10  	fmt.Println(escaper.Escape(`asdf'asdfasd[]a[\[][sdf\[d]`, []rune{'[', '\''}))
    11  }