Add small syntax (#3506)

This commit is contained in:
Aya Morisawa 2018-12-05 20:11:54 +09:00 committed by GitHub
parent dc8f4c8d6a
commit 66836836ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 0 deletions

View file

@ -70,6 +70,15 @@ describe('Text', () => {
], tokens);
});
it('small', () => {
const tokens = analyze('<small>smaller</small>');
assert.deepEqual([
nodeWithChildren('small', [
text('smaller')
]),
], tokens);
});
describe('motion', () => {
it('by triple brackets', () => {
const tokens = analyze('(((foo)))');