File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
src/main/kotlin/io/kotest/plugin/intellij/styles Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ object BehaviorSpecStyle : SpecStyle {
204204 }
205205
206206 /* *
207- * For a Behavior we consider the following scenarios:
207+ * For a BehaviorSpec we consider the following scenarios:
208208 *
209209 * context("test name") {}
210210 * xcontext("test name") {}
Original file line number Diff line number Diff line change @@ -299,9 +299,9 @@ object DescribeSpecStyle : SpecStyle {
299299 if (dot != null ) return test(dot)
300300
301301 // try to find Data Test Method by finding lambda openings
302- val dataMethodCall = element.isDataTestMethodCall(ShouldSpecStyle . getDataTestMethodNames())
302+ val dataMethodCall = element.isDataTestMethodCall(getDataTestMethodNames())
303303 if (dataMethodCall != null ) {
304- return ShouldSpecStyle . test(dataMethodCall)
304+ return test(dataMethodCall)
305305 }
306306 return null
307307 }
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ object ShouldSpecStyle : SpecStyle {
141141 }
142142
143143 /* *
144- * For a FunSpec we consider the following scenarios:
144+ * For a ShouldSpec we consider the following scenarios:
145145 *
146146 * should("test name") { }
147147 * xshould("test name") { }
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ object WordSpecStyle : SpecStyle {
143143 }
144144
145145 /* *
146- * For a FunSpec we consider the following scenarios:
146+ * For a WordSpec we consider the following scenarios:
147147 *
148148 * should("test name") { }
149149 * xshould("test name") { }
@@ -171,9 +171,9 @@ object WordSpecStyle : SpecStyle {
171171 if (ktdot != null ) return test(ktdot)
172172
173173 // try to find Data Test Method by finding lambda openings
174- val dataMethodCall = element.isDataTestMethodCall(ShouldSpecStyle . getDataTestMethodNames())
174+ val dataMethodCall = element.isDataTestMethodCall(getDataTestMethodNames())
175175 if (dataMethodCall != null ) {
176- return ShouldSpecStyle . test(dataMethodCall)
176+ return test(dataMethodCall)
177177 }
178178
179179 return null
You can’t perform that action at this time.
0 commit comments