(t *testing.T)
| 103 | } |
| 104 | |
| 105 | func TestFileBaseName(t *testing.T) { |
| 106 | if fileBaseName("..") != "" { |
| 107 | t.Error("Check file base name failed!") |
| 108 | } |
| 109 | if fileBaseName("./123/abc.xyz") != "abc.xyz" { |
| 110 | t.Error("Get file base name failed!") |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | func TestJsonString(t *testing.T) { |
| 115 | var data struct { |
nothing calls this directly
no test coverage detected