github.com/gocaveman/caveman@v0.0.0-20191211162744-0ddf99dbdf6e/menus/fs-menu-store_test.go (about) 1 package menus 2 3 // func TestEscaping(t *testing.T) { 4 5 // testEsc(t, "testing!blah#") 6 // testEsc(t, "!testing!blah#") 7 // testEsc(t, "") 8 // testEsc(t, "!") 9 // testEsc(t, "a") 10 // testEsc(t, "A") 11 12 // } 13 14 // func testEsc(t *testing.T, in string) { 15 16 // s := escapeFileName(in) 17 // out := unescapeFileName(s) 18 19 // if in != out { 20 // t.Fatalf("in(%q) != out(%q); s=%q", in, out, s) 21 // } 22 23 // }