summaryrefslogtreecommitdiff
path: root/test/mfm.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/mfm.ts')
-rw-r--r--test/mfm.ts7
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'),
+ ]);
+ });
});
});