Skip to content

Commit 0f26361

Browse files
test(jco): add f64 to tests, re-enable all
1 parent 469b8ca commit 0f26361

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

crates/test-components/wit/all.wit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ interface example-types {
4747
num(u32),
4848
str(string),
4949
float(f32),
50+
float64(f64),
5051
maybe-u32(option<u32>),
5152
}
5253

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,10 @@ suite("future<T> lowers", () => {
303303
);
304304
}
305305

306-
vals = [{ tag: "float", val: 123.1 }];
306+
vals = [
307+
{ tag: "float", val: 123.1 },
308+
{ tag: "float64", val: 246.2 },
309+
];
307310
for (const [idx, v] of vals.entries()) {
308311
const returned = await instance["jco:test-components/future-lower-async"].readFutureValueVariant(
309312
Promise.resolve(v),
@@ -312,7 +315,7 @@ suite("future<T> lowers", () => {
312315
}
313316
});
314317

315-
test("tuple", async () => {
318+
test.concurrent("tuple", async () => {
316319
assert.instanceOf(instance["jco:test-components/future-lower-async"].readFutureValueTuple, AsyncFunction);
317320

318321
let vals = [

0 commit comments

Comments
 (0)