fix broken test

This commit is contained in:
Jonathan Shook 2020-08-06 13:49:55 -05:00
parent ce6fc359c5
commit 886eda126c
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ public class AsyncScriptIntegrationTests {
public void testScriptParamsVariable() {
ScenarioResult scenarioResult = runScenario("params_variable", "one", "two", "three", "four");
assertThat(scenarioResult.getIOLog()).contains("params[\"one\"]='two'");
assertThat(scenarioResult.getIOLog()).contains("params.[\"three\"]='four'");
assertThat(scenarioResult.getIOLog()).contains("params[\"three\"]='four'");
assertThat(scenarioResult.getIOLog()).contains("overridden[\"three\"] [overridden-three-five]='five'");
assertThat(scenarioResult.getIOLog()).contains("defaulted.get[\"four\"] [defaulted-four-niner]='niner'");
}

View File

@ -11,7 +11,7 @@
// Called with one=two three=four
print('params["one"]=\'' + params["one"] + "'");
print('params.["three"]=\'' + params["three"] + "'");
print('params["three"]=\'' + params["three"] + "'");
var overrides = {
'three': "five"