From f73e8b0a42c8bcdce6c1a15cee717e3a194540eb Mon Sep 17 00:00:00 2001 From: Kevin McFarlane Date: Fri, 19 May 2023 15:54:55 +0100 Subject: [PATCH] fix(quiz3.rs): change the grade in the second test to "A+" to allow alphabetical grades. --- exercises/quiz3.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/quiz3.rs b/exercises/quiz3.rs index 6c135f6b66..1ca8693841 100644 --- a/exercises/quiz3.rs +++ b/exercises/quiz3.rs @@ -51,13 +51,13 @@ mod tests { fn generate_alphabetic_report_card() { // TODO: Make sure to change the grade here after you finish the exercise. let report_card = ReportCard { - grade: 2.1, + grade: "A+", student_name: "Gary Plotter".to_string(), student_age: 11, }; assert_eq!( report_card.print(), - "Gary Plotter (11) - achieved a grade of 2.1" + "Gary Plotter (11) - achieved a grade of A+" ); } }