Skip to content

Commit

Permalink
Add a test comment to clarify what we're checking for
Browse files Browse the repository at this point in the history
  • Loading branch information
romseygeek committed Oct 30, 2023
1 parent 8c4823d commit b562b84
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ public void testIndexedTemplateClient() throws Exception {
}

public void testBadTemplate() {

// This template will produce badly formed json if given a multi-valued `text_fields` parameter,
// as it does not add commas between the entries. We test that it produces a 400 json parsing
// error both when used directly and when used in a render template request.

String script = """
{
"script": {
Expand Down

0 comments on commit b562b84

Please sign in to comment.