()
| 8 | ) |
| 9 | |
| 10 | func getCaller() string { |
| 11 | _, file, line, ok := runtime.Caller(2) |
| 12 | if !ok { |
| 13 | return "Unrecoverable location" |
| 14 | } |
| 15 | return fmt.Sprintf("%s:%d", file, line) |
| 16 | } |
| 17 | |
| 18 | /* Test Helpers */ |
| 19 | func expect(t *testing.T, a interface{}, b interface{}) { |