Skip to content

Commit 6246a98

Browse files
committed
Fix streams-and-futures test
Fixing a mistake from #2376
1 parent d72debf commit 6246a98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/wit-dylib/test-programs/src/bin/streams_and_futures_callee.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl TestCase for MyInterpreter {
126126
Some(Val::Future(result.take_handle()))
127127
}
128128

129-
"thing.get" => {
129+
"[method]thing.get" => {
130130
assert_eq!(func.params().len(), 1);
131131
assert!(matches!(func.params().next(), Some(Type::Borrow(_))));
132132
assert!(matches!(func.result(), Some(Type::String)));

crates/wit-dylib/test-programs/src/bin/streams_and_futures_caller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl TestCase for MyInterpreter {
168168
let Val::String(value) = Self::call_import_async(
169169
wit,
170170
Some("a:b/x"),
171-
"thing.get",
171+
"[method]thing.get",
172172
&[Val::Borrow(handle.borrow())],
173173
)
174174
.await

0 commit comments

Comments
 (0)