File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
main/java/ru/mystamps/web/feature/series/importing
test/groovy/ru/mystamps/web/feature/series/importing Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -253,8 +253,10 @@ protected Boolean extractPerforated(String fragment) {
253
253
254
254
log .debug ("Determining perforation from a fragment: '{}'" , fragment );
255
255
256
- boolean withoutPerforation = StringUtils .containsIgnoreCase (fragment , "б/з" )
257
- || StringUtils .containsIgnoreCase (fragment , "беззубцовые" );
256
+ boolean withoutPerforation =
257
+ StringUtils .containsIgnoreCase (fragment , "б/з" )
258
+ || StringUtils .containsIgnoreCase (fragment , "беззубцовые" )
259
+ || StringUtils .containsIgnoreCase (fragment , "б/перфорации" );
258
260
if (withoutPerforation ) {
259
261
log .debug ("Perforation is false" );
260
262
return Boolean .FALSE ;
Original file line number Diff line number Diff line change @@ -413,11 +413,12 @@ class SeriesInfoExtractorServiceImplTest extends Specification {
413
413
expect :
414
414
service. extractPerforated(fragment) == false
415
415
where :
416
- fragment | _
417
- ' б/з' | _
418
- ' Б/З' | _
419
- ' беззубцовые' | _
420
- ' БЕЗЗУБЦОВЫЕ' | _
416
+ fragment | _
417
+ ' б/з' | _
418
+ ' Б/З' | _
419
+ ' беззубцовые' | _
420
+ ' БЕЗЗУБЦОВЫЕ' | _
421
+ ' б/перфорации' | _
421
422
}
422
423
423
424
//
You can’t perform that action at this time.
0 commit comments