Skip to content

Commit

Permalink
enable network test
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Mar 24, 2024
1 parent b525227 commit adfc2ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/deno_bot_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ if (import.meta.main) {
await test("z", /cannot find value `z`/);
await test("let a = 2; a + a", "4");
// NOTE: this requires network, is it a good idea to enable it ?
// await evalRs(":add regex");
// await test('regex::Regex::new("a.*a")', 'Ok(Regex("a.*a"))');
await evalRs(":add regex");
await test('regex::Regex::new("a.*a")', 'Ok(Regex("a.*a"))');
}

async function sleep(ms: number) {
Expand Down

0 comments on commit adfc2ed

Please sign in to comment.