We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11d8aea + 2691a35 commit b64aa99Copy full SHA for b64aa99
exercises/conversions/from_into.rs
@@ -127,14 +127,14 @@ mod tests {
127
#[test]
128
fn test_trailing_comma() {
129
let p: Person = Person::from("Mike,32,");
130
- assert_eq!(p.name, "John");
131
- assert_eq!(p.age, 30);
+ assert_eq!(p.name, "Mike");
+ assert_eq!(p.age, 32);
132
}
133
134
135
fn test_trailing_comma_and_some_string() {
136
let p: Person = Person::from("Mike,32,man");
137
138
139
140
0 commit comments