We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 187dd4c commit 29d29f9Copy full SHA for 29d29f9
dsc_lib/src/functions/first.rs
@@ -66,9 +66,9 @@ mod tests {
66
}
67
68
#[test]
69
- fn array_of_mixed() {
+ fn array_of_single_element() {
70
let mut parser = Statement::new().unwrap();
71
- let result = parser.parse_and_execute("[first(createArray('hello', 42))]", &Context::new()).unwrap();
+ let result = parser.parse_and_execute("[first(array('hello'))]", &Context::new()).unwrap();
72
assert_eq!(result.as_str(), Some("hello"));
73
74
0 commit comments