test: normalize formatted workdir TypeScript
This commit is contained in:
@@ -1410,10 +1410,12 @@ mod workdir_typescript_tests {
|
|||||||
value
|
value
|
||||||
.chars()
|
.chars()
|
||||||
.filter_map(|character| match character {
|
.filter_map(|character| match character {
|
||||||
'\r' | '\n' | ' ' | '\t' => None,
|
character if character.is_whitespace() => None,
|
||||||
_ => Some(character),
|
',' => Some(';'),
|
||||||
|
character => Some(character),
|
||||||
})
|
})
|
||||||
.collect()
|
.collect::<String>()
|
||||||
|
.replace("=|", "=")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user