Clarify Append command description in quiz2

This commit is contained in:
sobhanmohammadi-dev 2026-07-17 19:44:47 +03:30
parent 925321705e
commit b61baff1fc

View File

@ -10,7 +10,7 @@
// is going to be applied to the string. It can either be:
// - Uppercase the string
// - Trim the string
// - Append "bar" to the string a specified amount of times
// - Append "bar" to the end of the string a specified amount of times
//
// The exact form of this will be:
// - The input is going to be a Vector of 2-length tuples,
@ -48,6 +48,7 @@ mod tests {
("foo".to_string(), Command::Append(1)),
("bar".to_string(), Command::Append(5)),
];
let output = transformer(input);
assert_eq!(
@ -60,4 +61,4 @@ mod tests {
]
);
}
}
}