Skip to content
Snippets Groups Projects
Commit 04747483 authored by syuilo's avatar syuilo
Browse files

add test

parent 4c20bcb0
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,14 @@ https://github.com/syuilo/ai
after`;
assert.strictEqual(mfm.toString(mfm.parse(input)), input);
});
it('preserve url brackets', () => {
const input1 = `https://github.com/syuilo/ai`;
assert.strictEqual(mfm.toString(mfm.parse(input1)), input1);
const input2 = `<https://github.com/syuilo/ai>`;
assert.strictEqual(mfm.toString(mfm.parse(input2)), input2);
});
});
describe('inspect', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment