aboutsummaryrefslogtreecommitdiff
path: root/test/cli/bun.test.ts
diff options
context:
space:
mode:
authorGravatar dave caruso <me@paperdave.net> 2023-09-01 15:27:59 -0700
committerGravatar GitHub <noreply@github.com> 2023-09-01 15:27:59 -0700
commit0fd0ad993bf30dc9af1cbe0459bc49db0dd52137 (patch)
tree3e34e8d4a57fba37ac19c3a9796ad84f19382f3c /test/cli/bun.test.ts
parent27de8bbf7b29dc142c4d3890ce8533a75d8d920f (diff)
downloadbun-0fd0ad993bf30dc9af1cbe0459bc49db0dd52137.tar.gz
bun-0fd0ad993bf30dc9af1cbe0459bc49db0dd52137.tar.zst
bun-0fd0ad993bf30dc9af1cbe0459bc49db0dd52137.zip
fix(runtime): fix dns_resolver crash (#4435)
* fix incorrect c pointer * format * lets go * random other test case fixed * hanassagi patch * Update dns_resolver.zig * Revert "Update dns_resolver.zig" This reverts commit 53eb338048583a338e7c01d2b351f1c679db3e15. * See if the tests pass --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Diffstat (limited to '')
-rw-r--r--test/cli/bun.test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cli/bun.test.ts b/test/cli/bun.test.ts
index 6deedcec8..5c5715168 100644
--- a/test/cli/bun.test.ts
+++ b/test/cli/bun.test.ts
@@ -1,6 +1,6 @@
import { describe, test, expect } from "bun:test";
import { spawnSync } from "bun";
-import { bunExe } from "harness";
+import { bunEnv, bunExe } from "harness";
import { tmpdir } from "node:os";
import fs from "node:fs";
@@ -39,14 +39,14 @@ describe("bun", () => {
test("revision generates version numbers correctly", () => {
var { stdout, exitCode } = Bun.spawnSync({
cmd: [bunExe(), "--version"],
- env: {},
+ env: bunEnv,
stderr: "inherit",
});
var version = stdout.toString().trim();
var { stdout, exitCode } = Bun.spawnSync({
cmd: [bunExe(), "--revision"],
- env: {},
+ env: bunEnv,
stderr: "inherit",
});
var revision = stdout.toString().trim();