Commit 51cab375 authored by Bharat Garhewal's avatar Bharat Garhewal
Browse files

Trim stdio input

parent a1e794cd
Pipeline #61081 failed with stages
in 3 minutes and 24 seconds
......@@ -91,6 +91,7 @@ impl<S: std::hash::BuildHasher> SystemUnderLearning for Stdio<S> {
self.sul_stdout
.read_line(&mut o_buf)
.expect("Could not read from SUL.");
o_buf = o_buf.trim().to_string();
let mut osymb = self.output_map.get_by_left(&o_buf).copied();
if osymb.is_none() {
#[allow(clippy::cast_possible_truncation)]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment