mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Replace commented-out code with TODO comments
This commit is contained in:
@@ -324,19 +324,8 @@ impl Sequence {
|
||||
Ok(ue) => Some(ue),
|
||||
Err(_pa) => {
|
||||
// TODO
|
||||
// Cannot log here, because this closure is executed multiple times
|
||||
|
||||
// let mut last_char = str_to_parse.chars();
|
||||
|
||||
// let second_number = last_char.next_back().unwrap();
|
||||
|
||||
// let first_number = last_char.as_str();
|
||||
|
||||
// show!(USimpleError::new(
|
||||
// 0,
|
||||
// format!("warning: the ambiguous octal escape \\{str_to_parse} is being interpreted as the 2-byte sequence \\{first_number}, {second_number}")
|
||||
// ));
|
||||
|
||||
// A warning needs to be printed here
|
||||
// See https://github.com/uutils/coreutils/issues/6821
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1495,9 +1495,8 @@ fn test_multibyte_octal_sequence() {
|
||||
.pipe_in("(1Ł)")
|
||||
.succeeds()
|
||||
// TODO
|
||||
// Cannot log warning because of how nom is parsing the arguments
|
||||
// .stderr_is(r"tr: warning: the ambiguous octal escape \501 is being interpreted as the 2-byte sequence \50, 1
|
||||
// ")
|
||||
// A warning needs to be printed here
|
||||
// See https://github.com/uutils/coreutils/issues/6821
|
||||
.stdout_is("Ł)");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user