diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-01-25 16:41:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-01-25 16:41:51 +0900 |
| commit | 42cd7c8a752b801a51e7e3718e4712251e66e2df (patch) | |
| tree | 6b9b124a0f30151bf482d9b00284dc1873b905c0 /test | |
| parent | [Test] Add sone streaming tests (diff) | |
| download | misskey-42cd7c8a752b801a51e7e3718e4712251e66e2df.tar.gz misskey-42cd7c8a752b801a51e7e3718e4712251e66e2df.tar.bz2 misskey-42cd7c8a752b801a51e7e3718e4712251e66e2df.zip | |
[MFM] Improve italic syntax detection
Diffstat (limited to 'test')
| -rw-r--r-- | test/mfm.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/mfm.ts b/test/mfm.ts index 789fb898c8..a4b4a13973 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -966,6 +966,13 @@ describe('MFM', () => { text('*foo_'), ]); }); + + it('ignore snake_case string', () => { + const tokens = analyze('foo_bar_baz'); + assert.deepStrictEqual(tokens, [ + text('foo_bar_baz'), + ]); + }); }); }); |