From 4de62220e3f0e2ed759d31b633ef267b12ec16b3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 27 Jan 2019 16:31:00 +0900 Subject: [MFM] Add flip syntax Resolve #4002 --- test/mfm.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') diff --git a/test/mfm.ts b/test/mfm.ts index d8cba8ee15..e48bba09ef 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -244,6 +244,15 @@ describe('MFM', () => { ]); }); + it('flip', () => { + const tokens = analyze('foo'); + assert.deepStrictEqual(tokens, [ + tree('flip', [ + text('flip') + ], {}), + ]); + }); + it('spin', () => { const tokens = analyze(':foo:'); assert.deepStrictEqual(tokens, [ -- cgit v1.2.3-freya