Skip to content

Commit

Permalink
Merge pull request #2732 from wiremock/fix-test
Browse files Browse the repository at this point in the history
Fix test now that the new join helper has changed its name
  • Loading branch information
leeturner committed May 21, 2024
2 parents db9dc91 + 41b37d7 commit e5a4a72
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,8 @@ void valHelperCanAssignValueToNamedVariable() {
is("other value for myVar"));
assertThat(transform("{{val 12 assign='myVar'}}{{myVar}}"), is("12"));
assertThat(transform("{{val (array 1 2 3) assign='myVar'}}{{myVar}}"), is("[1, 2, 3]"));
assertThat(transform("{{val (array 1 2 3) assign='myVar'}}{{join '*' myVar}}"), is("1*2*3"));
assertThat(
transform("{{val (array 1 2 3) assign='myVar'}}{{arrayJoin '*' myVar}}"), is("1*2*3"));
}

@Test
Expand Down

0 comments on commit e5a4a72

Please sign in to comment.