We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc4345a commit eec161cCopy full SHA for eec161c
dictionary/test.ts
@@ -0,0 +1,8 @@
1
+import { assertMatch } from "@std/assert/match";
2
+import { dictionary } from "./dictionary.ts";
3
+
4
+Deno.test("definition source has leading space", () => {
5
+ for (const [word, { src }] of dictionary) {
6
+ assertMatch(src, /^\s/, `Error at ${word}`);
7
+ }
8
+});
0 commit comments