Skip to content

Commit

Permalink
test: xml
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Dec 16, 2024
1 parent 9fd9d6e commit 7b4c28c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xml/parse_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ if (runtime === "deno") {
},
},
)
}, { permissions: { read: ["bench"] } })
}, { permissions: { read: true } })

// Size tests

Expand All @@ -1302,6 +1302,6 @@ if (runtime === "deno") {
test(`\`parse()\` parse large files ~${(2 ** i)}Mb`, async () => {
await write(i)
expect(parse(await Deno.readTextFile(fromFileUrl(import.meta.resolve(`./bench/assets/x-${i}x-large.xml`))))).not.toThrow()
}, { permissions: { read: ["bench"], sys: ["uid"], write: ["bench"] }, ignore } as testing)
}, { permissions: { read: true, sys: ["uid"], write: ["bench"] }, ignore } as testing)
}
}

0 comments on commit 7b4c28c

Please sign in to comment.