Skip to content

Commit

Permalink
reformat import in test
Browse files Browse the repository at this point in the history
  • Loading branch information
svv232 committed Nov 12, 2024
1 parent c94c9f2 commit 0681bf0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions o1vm/tests/test_riscv_elf.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use o1vm::interpreters::riscv32i::
interpreter::{IInstruction, Instruction, RInstruction};
use o1vm::interpreters::riscv32i::interpreter::{IInstruction, Instruction, RInstruction};

#[test]
// Checking an instruction can be converted into a string.
Expand All @@ -17,4 +16,4 @@ fn test_instruction_can_be_converted_into_string() {

let instruction = Instruction::IType(IInstruction::LoadHalf);
assert_eq!(instruction.to_string(), "lh");
}
}

0 comments on commit 0681bf0

Please sign in to comment.