deno.land / std@0.224.0 / assert / assert_less_test.ts

assert_less_test.ts
View Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2018-2024 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));});
std

Version Info

Tagged at
6 months ago