From ada43cc56ac2e337cc034f8052d7e5da61268c34 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Wed, 27 Jan 2021 07:50:13 +1100 Subject: fix(lsp): handle mbc properly when formatting (#9273) --- cli/tests/lsp/did_open_notification_mbc_fmt.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cli/tests/lsp/did_open_notification_mbc_fmt.json (limited to 'cli/tests/lsp/did_open_notification_mbc_fmt.json') diff --git a/cli/tests/lsp/did_open_notification_mbc_fmt.json b/cli/tests/lsp/did_open_notification_mbc_fmt.json new file mode 100644 index 000000000..528dad25d --- /dev/null +++ b/cli/tests/lsp/did_open_notification_mbc_fmt.json @@ -0,0 +1,12 @@ +{ + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "uri": "file:///a/file.ts", + "languageId": "typescript", + "version": 1, + "text": "const bar = 'πŸ‘πŸ‡ΊπŸ‡ΈπŸ˜ƒ'\nconsole.log('hello deno')\n" + } + } +} -- cgit v1.2.3