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