Skip to content

Commit 2eaf81b

Browse files
committed
SeriesInfoExtractorServiceImplTest: suppress CodeNarc warning.
And also removes extra space. Correction for fdca673 commit. Addressed to #788
1 parent fdca673 commit 2eaf81b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/groovy/ru/mystamps/web/service/SeriesInfoExtractorServiceImplTest.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class SeriesInfoExtractorServiceImplTest extends Specification {
315315

316316
def 'extractQuantity() should return null when fragment is null, empty or blank'() {
317317
expect:
318-
service.extractQuantity(nullOrBlank()) == null
318+
service.extractQuantity(nullOrBlank()) == null
319319
}
320320

321321
def 'extractQuantity() should return null for invalid price'() {
@@ -324,6 +324,7 @@ class SeriesInfoExtractorServiceImplTest extends Specification {
324324
}
325325

326326
@Unroll
327+
@SuppressWarnings('UnnecessaryBooleanExpression')
327328
def 'extractQuantity() should extract quantity from "#fragment"'(String fragment, Integer expectedQuantity) {
328329
expect:
329330
service.extractQuantity(fragment) == expectedQuantity

0 commit comments

Comments
 (0)