Skip to content

Commit 45eae9e

Browse files
committed
update test
1 parent f2c505e commit 45eae9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dsc_lib/src/functions/join.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ mod tests {
8181
}
8282

8383
#[test]
84-
fn join_array_of_floats() {
84+
fn join_array_of_integers() {
8585
let mut parser = Statement::new().unwrap();
86-
let result = parser.parse_and_execute("[join(createArray(1.5,2.5,3.0), ',')]", &Context::new()).unwrap();
87-
assert_eq!(result, "1.5,2.5,3.0");
86+
let result = parser.parse_and_execute("[join(createArray(1,2,3), ',')]", &Context::new()).unwrap();
87+
assert_eq!(result, "1,2,3");
8888
}
8989
}

0 commit comments

Comments
 (0)