mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
Make rust text based approval tests pass
The main method for approval tests are supposed to run 30 days. Previous impl was using an exclusive range. Use an inclusive range instead.
This commit is contained in:
parent
1d71dbc460
commit
75c6303cee
@ -18,7 +18,7 @@ fn main() {
|
||||
let mut rose = GildedRose::new(items);
|
||||
|
||||
println!("OMGHAI!");
|
||||
for i in 0..30 {
|
||||
for i in 0..=30 {
|
||||
println!("-------- day {} --------", i);
|
||||
println!("name, sellIn, quality");
|
||||
for item in &rose.items {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user