@@ -55,7 +55,7 @@ public IEnumerable<Story> CreateTwoStoriesEachWithOneFailingScenarioAndOnePassin
5555
5656 private Scenario [ ] GetScenarios ( bool includeFailingScenario , bool includeExamples )
5757 {
58- var sadExecutionSteps = GetSadExecutionSteps ( ) . ToArray ( ) ;
58+ var sadExecutionSteps = GetSadExecutionSteps ( ) . ToList ( ) ;
5959 if ( includeFailingScenario )
6060 {
6161 var last = sadExecutionSteps . Last ( ) ;
@@ -78,7 +78,7 @@ private Scenario[] GetScenarios(bool includeFailingScenario, bool includeExample
7878 { "positive" , "is" } ,
7979 { "negative" , "is not" }
8080 } ;
81- var exampleExecutionSteps = GetExampleExecutionSteps ( ) . ToArray ( ) ;
81+ var exampleExecutionSteps = GetExampleExecutionSteps ( ) . ToList ( ) ;
8282 if ( includeFailingScenario )
8383 {
8484 var last = exampleExecutionSteps . Last ( ) ;
@@ -126,7 +126,7 @@ private Scenario[] GetOneOfEachScenarioResult()
126126 return scenarios . ToArray ( ) ;
127127 }
128128
129- private IEnumerable < Step > GetHappyExecutionSteps ( )
129+ private List < Step > GetHappyExecutionSteps ( )
130130 {
131131 var steps = new List < Step >
132132 {
@@ -137,7 +137,7 @@ private IEnumerable<Step> GetHappyExecutionSteps()
137137 return steps ;
138138 }
139139
140- private IEnumerable < Step > GetExampleExecutionSteps ( )
140+ private List < Step > GetExampleExecutionSteps ( )
141141 {
142142 var steps = new List < Step >
143143 {
@@ -148,7 +148,7 @@ private IEnumerable<Step> GetExampleExecutionSteps()
148148 return steps ;
149149 }
150150
151- private IEnumerable < Step > GetSadExecutionSteps ( )
151+ private List < Step > GetSadExecutionSteps ( )
152152 {
153153 var steps = new List < Step >
154154 {
@@ -159,7 +159,7 @@ private IEnumerable<Step> GetSadExecutionSteps()
159159 return steps ;
160160 }
161161
162- private IEnumerable < Step > GetInconclusiveExecutionSteps ( )
162+ private List < Step > GetInconclusiveExecutionSteps ( )
163163 {
164164 var steps = new List < Step >
165165 {
@@ -176,7 +176,7 @@ private IEnumerable<Step> GetInconclusiveExecutionSteps()
176176 }
177177
178178
179- private IEnumerable < Step > GetNotImplementedExecutionSteps ( )
179+ private List < Step > GetNotImplementedExecutionSteps ( )
180180 {
181181 var steps = new List < Step >
182182 {
0 commit comments