Skip to content

Commit b224fd6

Browse files
committed
fix standalone_integration_test yet again
1 parent a387dc5 commit b224fd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/testing/tests/standalone_integration_test.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async fn call_reducer(module: &ModuleHandle, reducer: &str, args: &str, request_
4444
r#"{{
4545
"CallReducer": {{
4646
"reducer_id": {reducer_id},
47-
"args": {args},
47+
"args": "{args}",
4848
"request_id": {request_id},
4949
"flags": 0
5050
}}
@@ -65,8 +65,8 @@ fn test_calling_a_reducer_in_module(module_name: &'static str) {
6565
|module| async move {
6666
call_reducer(&module, "add", r#"[\"Tyrion\", 24]"#, 0).await;
6767
call_reducer(&module, "add", r#"[\"Cersei\", 31]"#, 1).await;
68-
call_reducer(&module, "say_hello", r#"[]"#, 2).await;
69-
call_reducer(&module, "list_over_age", r#"[30]"#, 3).await;
68+
call_reducer(&module, "say_hello", "[]", 2).await;
69+
call_reducer(&module, "list_over_age", "[30]", 3).await;
7070
assert_eq!(
7171
read_logs(&module).await,
7272
[
@@ -254,7 +254,7 @@ fn test_index_scans() {
254254
}
255255

256256
async fn bench_call<'a>(module: &ModuleHandle, call: &str, count: &u32) -> Duration {
257-
let args = format!(r#"[{count}]"#);
257+
let args = format!("[{count}]");
258258
let now = Instant::now();
259259
call_reducer(module, call, &args, 0).await;
260260
now.elapsed()

0 commit comments

Comments
 (0)