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 committed 2020-12-20 14:06:26 -05:00
1 parent 1d71dbc460
commit 75c6303cee
1 file changed
+1 -1
+1 -1
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 {