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:
Christopher J. McClellan 2020-12-20 14:05:19 -05:00
parent 1d71dbc460
commit 75c6303cee

View File

@ -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 {