Skip to content

Commit d3a3a9e

Browse files
committed
format
1 parent fe7fde0 commit d3a3a9e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

crates/languages/bevy_mod_scripting_lua/tests/lua_tests.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
use bevy_mod_scripting_core::{bindings::{pretty_print::DisplayWithWorld, ThreadWorldContainer, WorldContainer}, error::ScriptError, AddContextInitializer};
1+
use bevy_mod_scripting_core::{
2+
bindings::{pretty_print::DisplayWithWorld, ThreadWorldContainer, WorldContainer},
3+
error::ScriptError,
4+
AddContextInitializer,
5+
};
26
use bevy_mod_scripting_lua::LuaScriptingPlugin;
37
use libtest_mimic::{Arguments, Failed, Trial};
48
use mlua::{Function, Lua, MultiValue};
@@ -36,11 +40,11 @@ impl Test {
3640
"Expected function to throw error, but it did not.",
3741
))
3842
}
39-
Err(e) =>
43+
Err(e) =>
4044
ScriptError::from_mlua_error(e).display_with_world(world)
4145
,
4246
};
43-
47+
4448
let regex = regex::Regex::new(&reg).unwrap();
4549
if regex.is_match(&err) {
4650
Ok(())

0 commit comments

Comments
 (0)