Simplify test

This commit is contained in:
syuilo 2019-06-16 21:29:31 +09:00
parent b134467bd3
commit 5042d23bc4
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 2 additions and 2 deletions

View File

@ -1175,9 +1175,9 @@ describe('MFM', () => {
});
it('require spaces', () => {
const tokens = parse('湊おじたん@日目_L38b #pixiv https://www.pixiv.net/member_illust.php');
const tokens = parse('日目_L38b a_b');
assert.deepStrictEqual(tokens, [
text('湊おじたん@日目_L38b #pixiv https://www.pixiv.net/member_illust.php'),
text('日目_L38b a_b'),
]);
});