Skip to content

Commit

Permalink
Clean up some newlines and standardise them to just use a new line feed.
Browse files Browse the repository at this point in the history
  • Loading branch information
sciguyryan committed Feb 5, 2025
1 parent 4e0d428 commit 180306b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions redox-core/src/parsing/asm_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ mod tests_asm_parsing {
#[test]
fn code_misc_tests() {
let tests = [ParserTest::new(
"mov eax,\\\r\nebx",
"mov eax,\\\nebx",
&[Instruction::MovU32RegU32Reg(
RegisterId::EAX,
RegisterId::EBX,
Expand Down Expand Up @@ -1335,13 +1335,13 @@ mod tests_asm_parsing {
"failed to correctly parse instruction and comment.",
),
ParserTest::new(
"nop\r\n;this should be ignored\r\nnop",
"nop\n;this should be ignored\nnop",
&[Instruction::Nop, Instruction::Nop],
false,
"failed to correctly parse instruction and comment.",
),
ParserTest::new(
"nop\r\n;nop\r\nnop",
"nop\n;nop\nnop",
&[Instruction::Nop, Instruction::Nop],
false,
"failed to correctly parse instruction and comment.",
Expand Down

0 comments on commit 180306b

Please sign in to comment.