Skip to content

Commit

Permalink
fix type inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
demetribu committed Aug 20, 2024
1 parent 9bf715a commit f2076f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/functions/src/unicode/strpos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ mod tests {
}

#[test]
fn strpos() {
fn test_strpos_type_consitency() {
test_strpos!("foo", "bar" -> 0; Utf8 Utf8 i32 Int32 Int32Array);
test_strpos!("foobar", "foo" -> 1; Utf8 Utf8 i32 Int32 Int32Array);
test_strpos!("foobar", "bar" -> 4; Utf8 Utf8 i32 Int32 Int32Array);
Expand Down

0 comments on commit f2076f3

Please sign in to comment.