(t *testing.T, json, path, expect string)
| 76 | } |
| 77 | |
| 78 | func testEscapePath(t *testing.T, json, path, expect string) { |
| 79 | if Get(json, path).String() != expect { |
| 80 | t.Fatalf("expected '%v', got '%v'", expect, Get(json, path).String()) |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | func TestEscapePath(t *testing.T) { |
| 85 | json := `{ |
no test coverage detected
searching dependent graphs…