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

assert_less_or_equal_test.ts
View Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.import { assertLessOrEqual, assertThrows } from "./mod.ts";
Deno.test("assertLessOrEqual", () => { assertLessOrEqual(1, 2); assertLessOrEqual(1n, 1n);
assertThrows(() => assertLessOrEqual(2, 1));});
std

Version Info

Tagged at
6 months ago