Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
doonv committed Dec 28, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
doonv Doonv
1 parent b1afd4d commit 312c28f
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -16,9 +16,10 @@ bevy_egui = "0.24.0"
chrono = "0.4.31"
tracing-log = "0.2.0"
tracing-subscriber = "0.3.18"
web-time = "0.2.4"

# built-in parser
logos = { version = "0.13.0", optional = true }
web-time = "0.2.4"

[target.'cfg(target_os = "android")'.dependencies]
android_log-sys = "0.3.0"
4 changes: 3 additions & 1 deletion src/builtin_parser/runner/error.rs
Original file line number Diff line number Diff line change
@@ -89,7 +89,9 @@ impl RunError {
span,
} => todo!(),
EnumVariantNotFound { name, span } => todo!(),
CannotMoveOutOfResource(Spanned { value, .. }) => format!("Cannot move out of resource `{value}`, try borrowing it instead.").into(),
CannotMoveOutOfResource(Spanned { value, .. }) => {
format!("Cannot move out of resource `{value}`, try borrowing it instead.").into()
}
}
}
}
1 change: 1 addition & 0 deletions src/command.rs
Original file line number Diff line number Diff line change
@@ -114,6 +114,7 @@ impl CommandHints {
/// # use bevy::ecs::world::World;
/// # use bevy_dev_console::command::CommandParser;
/// # use bevy::log::info;
/// # use bevy_dev_console::ui::COMMAND_RESULT_NAME;
///
/// pub struct MyCustomParser;
/// impl CommandParser for MyCustomParser {

0 comments on commit 312c28f

Please sign in to comment.