(t *testing.T)
| 118 | } |
| 119 | |
| 120 | func Test_errstring(t *testing.T) { |
| 121 | t.Run("返回错误字符串", func(t *testing.T) { |
| 122 | assert.Equal(t, "", errstring(nil)) |
| 123 | assert.Equal(t, "[g] Hello world", errstring(errors.New("hello world"))) |
| 124 | }) |
| 125 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…