diff --git a/karate-core/src/test/java/com/intuit/karate/core/FeatureRuntimeTest.java b/karate-core/src/test/java/com/intuit/karate/core/FeatureRuntimeTest.java index 7da7aedbe..5a3b04fa2 100644 --- a/karate-core/src/test/java/com/intuit/karate/core/FeatureRuntimeTest.java +++ b/karate-core/src/test/java/com/intuit/karate/core/FeatureRuntimeTest.java @@ -410,7 +410,7 @@ void testSingleScenario() { FeatureRuntime featureRuntime = FeatureRuntime.of(new Suite(), featureCall, null); featureRuntime.run(); - FeatureResult result = featureRuntime.result; - matchContains(result.getVariables(), "{ result2: 'Two' }"); + var resultVars = featureRuntime.result.getVariables(); + matchContains(resultVars, "{ result1: '#notpresent', result2: 'Two', result3: '#notpresent' }"); } }