summaryrefslogtreecommitdiff
path: root/cli/tests/test/doc.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/test/doc.ts')
-rw-r--r--cli/tests/test/doc.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/test/doc.ts b/cli/tests/test/doc.ts
new file mode 100644
index 000000000..9298393eb
--- /dev/null
+++ b/cli/tests/test/doc.ts
@@ -0,0 +1,10 @@
+/**
+ * ```
+ * import { example } from "./doc.ts";
+ *
+ * console.assert(example() == 42);
+ * ```
+ */
+export function example(): string {
+ return "example";
+}