Skip to main content
Module

std/assert/assert_less_test.ts

Deno standard library
Go to Latest
File
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.import { assertLess, assertThrows } from "./mod.ts";
Deno.test("assertLess", () => { assertLess(1, 2); assertLess(1n, 2n); assertLess(1, 1.1);
assertThrows(() => assertLess(2, 1));});