summaryrefslogtreecommitdiff
path: root/cli/tests/fmt/formatted3.md
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/fmt/formatted3.md')
-rw-r--r--cli/tests/fmt/formatted3.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/cli/tests/fmt/formatted3.md b/cli/tests/fmt/formatted3.md
new file mode 100644
index 000000000..e6e616584
--- /dev/null
+++ b/cli/tests/fmt/formatted3.md
@@ -0,0 +1,17 @@
+# Hello
+
+```js
+function foo() {
+ return 42;
+}
+
+foo();
+```
+
+```ts
+function bar(): number {
+ return 42;
+}
+
+bar();
+```