Skip to content

Commit 9087fdc

Browse files
authored
Merge pull request #2506 from AKushWarrior/master
Single Scenario Test Improvement
2 parents d654e1d + fc3e711 commit 9087fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

karate-core/src/test/java/com/intuit/karate/core/FeatureRuntimeTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ void testSingleScenario() {
410410
FeatureRuntime featureRuntime = FeatureRuntime.of(new Suite(), featureCall, null);
411411
featureRuntime.run();
412412

413-
FeatureResult result = featureRuntime.result;
414-
matchContains(result.getVariables(), "{ result2: 'Two' }");
413+
var resultVars = featureRuntime.result.getVariables();
414+
matchContains(resultVars, "{ result1: '#notpresent', result2: 'Two', result3: '#notpresent' }");
415415
}
416416
}

0 commit comments

Comments
 (0)