File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
WooCommerce/WooCommerceTests/ViewRelated/Products Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ final class ProductsTabProductViewModelTests: XCTestCase {
7373 let detailsText = viewModel. detailsAttributedString. string
7474
7575 // Assert
76- let singularFormat = NSLocalizedString ( " %ld variant " , comment: " Label about one product variation shown on Products tab " )
76+ let singularFormat = NSLocalizedString ( " %ld variation " , comment: " Label about one product variation shown on Products tab " )
7777 let expectedStockDetail = String . localizedStringWithFormat ( singularFormat, variations. count)
7878 XCTAssertTrue ( detailsText. contains ( expectedStockDetail) )
7979 }
@@ -88,7 +88,7 @@ final class ProductsTabProductViewModelTests: XCTestCase {
8888 let detailsText = viewModel. detailsAttributedString. string
8989
9090 // Assert
91- let pluralFormat = NSLocalizedString ( " %ld variants " , comment: " Label about number of variations shown on Products tab " )
91+ let pluralFormat = NSLocalizedString ( " %ld variations " , comment: " Label about number of variations shown on Products tab " )
9292 let expectedStockDetail = String . localizedStringWithFormat ( pluralFormat, variations. count)
9393 XCTAssertTrue ( detailsText. contains ( expectedStockDetail) )
9494 }
You can’t perform that action at this time.
0 commit comments