github.com/fzfile/BaiduPCS-Go@v0.0.0-20200606205115-4408961cf336/pcsutil/escaper/escaper_test.go (about)

     1  package escaper_test
     2  
     3  import (
     4  	"fmt"
     5  	"github.com/fzfile/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  }