Demonstrate failing CI check: use addition in total_price (#N)
Scrap-Web/pipeline/pr-main There was a failure building this commit

This commit is contained in:
2026-10-23 23:04:14 -04:00
parent 8ba340e32f
commit a5180ad781
+1 -1
View File
@@ -5,4 +5,4 @@ def total_price(unit_price, quantity):
"""Return the total price for `quantity` items at `unit_price` each."""
if quantity < 1:
raise ValueError("Quantity must be positive")
return unit_price * quantity
return unit_price + quantity