From 995cf503eb0e2b0ea4df6a232984203c5b027ee4 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Sun, 25 Nov 2018 13:21:39 +0900
Subject: [PATCH] Add MFM test

---
 test/mfm.ts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/test/mfm.ts b/test/mfm.ts
index 9956f679b..ac52041bb 100644
--- a/test/mfm.ts
+++ b/test/mfm.ts
@@ -449,6 +449,15 @@ describe('Text', () => {
 				], tokens);
 			});
 
+			it('simple (with silent flag)', () => {
+				const tokens = analyze('?[foo](https://example.com)');
+				assert.deepEqual([
+					nodeWithChildren('link', [
+						text('foo')
+					], { url: 'https://example.com', silent: true })
+				], tokens);
+			});
+
 			it('in text', () => {
 				const tokens = analyze('before[foo](https://example.com)after');
 				assert.deepEqual([