Skip to content

Commit 27e037c

Browse files
crepererumCopilot
andcommitted
fix: test code inconsistencies
Co-authored-by: Copilot <[email protected]>
1 parent 17a06af commit 27e037c

File tree

2 files changed

+2
-2
lines changed
  • guests/evil/src
  • host/tests/integration_tests/evil

2 files changed

+2
-2
lines changed

guests/evil/src/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl String2Udf {
111111
Self {
112112
name,
113113
effect: Box::new(effect),
114-
signature: Signature::uniform(1, vec![DataType::Utf8], Volatility::Immutable),
114+
signature: Signature::uniform(2, vec![DataType::Utf8], Volatility::Immutable),
115115
}
116116
}
117117
}

host/tests/integration_tests/evil/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async fn call(udf: &WasmScalarUdf) -> Option<String> {
5151
args: vec![],
5252
arg_fields: vec![],
5353
number_rows: 1,
54-
return_field: Arc::new(Field::new("r", DataType::Null, true)),
54+
return_field: Arc::new(Field::new("r", DataType::Utf8, true)),
5555
},
5656
&ConfigOptions::default(),
5757
)

0 commit comments

Comments
 (0)