(e testError)
| 251 | } |
| 252 | |
| 253 | func fmtErrorf(e testError) string { |
| 254 | return fmt.Sprintf( |
| 255 | "Unexpected %s:\n\t"+ |
| 256 | "for=%q\n\t"+ |
| 257 | "i=%d\n\t"+ |
| 258 | "len(input)=%d\n\t"+ |
| 259 | "input=%v\n\t"+ |
| 260 | "expected=%v\n\t"+ |
| 261 | "result=%v", |
| 262 | e.unexpected, e.desc, e.i, e.lenInput, e.input, e.expected, e.result, |
| 263 | ) |
| 264 | } |
| 265 | |
| 266 | func TestSetDotKeyIssue10(t *testing.T) { |
| 267 | json := `{"app.token":"abc"}` |
no outgoing calls
no test coverage detected
searching dependent graphs…