Skip to content

Commit ddb80db

Browse files
Copilotjsturtevant
andcommitted
Fix test compilation error in outb.rs
Co-authored-by: jsturtevant <648372+jsturtevant@users.noreply.github.com>
1 parent 25393e4 commit ddb80db

File tree

1 file changed

+2
-2
lines changed
  • src/hyperlight_host/src/sandbox

1 file changed

+2
-2
lines changed

src/hyperlight_host/src/sandbox/outb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ mod tests {
213213
use tracing_log::log::{Level, LevelFilter};
214214
use tracing_core::callsite::rebuild_interest_cache;
215215

216-
use super::outb_log;
216+
use super::{outb_log, guest_level_to_log_level};
217217
use crate::mem::layout::SandboxMemoryLayout;
218218
use crate::mem::mgr::SandboxMemoryManager;
219219
use crate::mem::shared_mem::SharedMemory;
@@ -317,7 +317,7 @@ mod tests {
317317
outb_log(&mut mgr).unwrap();
318318

319319
LOGGER.test_log_records(|log_calls| {
320-
let expected_level: Level = (&level).into();
320+
let expected_level: Level = guest_level_to_log_level((&level).into());
321321

322322
assert!(
323323
log_calls

0 commit comments

Comments
 (0)