We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aab65be commit 7051a6eCopy full SHA for 7051a6e
src/parser/test.ts
@@ -1,7 +1,7 @@
1
// This code is Deno only
2
3
-import { assert } from "@std/assert/assert";
4
import { assertEquals } from "@std/assert/equals";
+import { assertLess } from "@std/assert/less";
5
import { assertNotEquals } from "@std/assert/not-equals";
6
import { assertThrows } from "@std/assert/throws";
7
import { EXAMPLE_SENTENCES, MALFORMED_SENTENCES } from "../examples.ts";
@@ -33,7 +33,7 @@ Deno.test("ucsur ordered", () => {
33
for (const [i, word] of PU.entries()) {
34
if (i < PU.length - 1) {
35
const other = PU[i + 1];
36
- assert(word < PU[i + 1], `error between ${word} and ${other}`);
+ assertLess(word, PU[i + 1], `error between ${word} and ${other}`);
37
}
38
39
});
0 commit comments