File tree Expand file tree Collapse file tree
crates/spidermonkey-embedding-splicer/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ impl JsBindgen<'_> {
429429 // can be used when an explicit export is not
430430 // defined by the guest content.
431431 if iface_name == "incoming-handler"
432- || name. starts_with ( "wasi:http/incoming-handler@0.2" )
432+ || name. starts_with ( "wasi:http/incoming-handler@0.2. " )
433433 {
434434 if !features. contains ( & Features :: Http ) {
435435 bail ! (
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ impl Guest for SpidermonkeyEmbeddingSplicerComponent {
176176 . find ( |( key, _) | {
177177 engine_resolve
178178 . name_world_key ( key)
179- . starts_with ( "wasi:http/incoming-handler@0.2" )
179+ . starts_with ( "wasi:http/incoming-handler@0.2. " )
180180 } )
181181 . map ( |( key, _) | key. clone ( ) ) ;
182182
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ export const source = `
1515 };
1616` ;
1717
18- export async function test ( run ) {
18+ export async function test ( run ) {
1919 const { stdout, stderr } = await run ( ) ;
2020 strictEqual ( stdout , 'Calculated fib 1000: 4.346655768693743e+208\n' ) ;
2121
2222 ok ( stderr . includes ( ' ms' ) ) ;
2323 const time = Number ( stderr . split ( ' ms' ) [ 0 ] ) ;
2424 // TODO: fix back to half a millisecond when Weval fix is added
25- if ( time > 3 ) {
25+ if ( time > 4 ) {
2626 throw new Error ( 'took more than half a millisecond - ' + time + ' ms' ) ;
2727 }
2828}
You can’t perform that action at this time.
0 commit comments