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

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'),
]);
});