blob: f697b64d39c66dadfa4426b7169495b753bfd8ef (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { assert } from "./test_util.ts";
Deno.test(function buildInfo() {
// Deno.build is injected by rollup at compile time. Here
// we check it has been properly transformed.
const { arch, os } = Deno.build;
assert(arch.length > 0);
assert(os === "darwin" || os === "windows" || os === "linux");
});
|