Commit 8b4c0c2
committed
Fix string mismatch in unknown product error handling
Updated the unknown product name from "Unknown Product" to "One or more
products" to match the string value used in the error message view's
comparison logic.
This ensures the generic error message ("A product in the cart is no
longer available.") displays correctly instead of incorrectly using the
format string with "Unknown Product" as the product name.
Also updated test expectations to match the new string value.1 parent d19ab02 commit 8b4c0c2
File tree
2 files changed
+3
-3
lines changed- Modules
- Sources/Yosemite/Tools/POS
- Tests/YosemiteTests/Tools/POS
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| |||
0 commit comments