Skip to content

Commit 29d29f9

Browse files
committed
Single test
1 parent 187dd4c commit 29d29f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsc_lib/src/functions/first.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ mod tests {
6666
}
6767

6868
#[test]
69-
fn array_of_mixed() {
69+
fn array_of_single_element() {
7070
let mut parser = Statement::new().unwrap();
71-
let result = parser.parse_and_execute("[first(createArray('hello', 42))]", &Context::new()).unwrap();
71+
let result = parser.parse_and_execute("[first(array('hello'))]", &Context::new()).unwrap();
7272
assert_eq!(result.as_str(), Some("hello"));
7373
}
7474

0 commit comments

Comments
 (0)