Skip to content

Commit 1e9628f

Browse files
committed
fix test
1 parent 48e709e commit 1e9628f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dsc_lib/src/functions/less_or_equals.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl Function for LessOrEquals {
3434

3535
fn invoke(&self, args: &[Value], _context: &Context) -> Result<Value, DscError> {
3636
debug!("{}", t!("functions.lessOrEquals.invoked"));
37-
37+
3838
let first = &args[0];
3939
let second = &args[1];
4040

@@ -83,6 +83,7 @@ mod tests {
8383
assert_eq!(result, true);
8484
}
8585

86+
#[test]
8687
fn type_mismatch_string_number() {
8788
let mut parser = Statement::new().unwrap();
8889
let result = parser.parse_and_execute("[lessOrEquals('5', 3)]", &Context::new());

0 commit comments

Comments
 (0)