From 284ddfd567a9fe02827ad20377ccbba250e398e6 Mon Sep 17 00:00:00 2001 From: Diane Sparks Date: Sun, 6 Mar 2022 10:20:40 -0800 Subject: [PATCH] Add comment separator for bitwise tests --- tests/integration.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration.rs b/tests/integration.rs index 4f0b27b..d93c235 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -395,6 +395,7 @@ fn test_builtin_functions() { Ok(Value::String(String::from("(1, 2, 3)"))) ); assert_eq!(eval("str::from()"), Ok(Value::String(String::from("()")))); + // Bitwise assert_eq!(eval("bitand(5, -1)"), Ok(Value::Int(5))); assert_eq!(eval("bitand(6, 5)"), Ok(Value::Int(4))); assert_eq!(eval("bitor(5, -1)"), Ok(Value::Int(-1)));