From 052f7913ad90b4447c0a3f802da8b02b262241fd Mon Sep 17 00:00:00 2001 From: fdai7374 Date: Sat, 4 Feb 2023 19:09:21 +0100 Subject: [PATCH] refactoring: moved bracket in mod.rs tests --- src/builtins/mod.rs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/builtins/mod.rs b/src/builtins/mod.rs index f371bb1..466ed5c 100644 --- a/src/builtins/mod.rs +++ b/src/builtins/mod.rs @@ -80,9 +80,8 @@ mod tests { use super::*; #[test] - fn test_is_builtin_blahaj(){ + fn test_is_builtin_blahaj() { assert!(is_builtin("blahaj")); - } } #[test] @@ -132,13 +131,13 @@ mod tests { #[test] fn test_is_builtin_quote() { - assert!(is_builtin("quote")); -} + assert!(is_builtin("quote")); + } #[test] - fn test_is_builtin_rick(){ - assert!(is_builtin("rick")); -} + fn test_is_builtin_rick() { + assert!(is_builtin("rick")); + } #[test] fn test_is_builtin_segfault() { @@ -159,4 +158,4 @@ mod tests { fn test_is_builtin_notabuiltin() { assert!(!is_builtin("notabuiltin")) } - +} \ No newline at end of file