EntityNormalizerSpec: More fixes.
This commit is contained in:
parent
c2dfe1f6cc
commit
05167f202f
1 changed files with 2 additions and 2 deletions
|
@ -366,8 +366,8 @@ describe('API Entities normalizer', () => {
|
||||||
shortcode: '[a-z] {|}*'
|
shortcode: '[a-z] {|}*'
|
||||||
}])
|
}])
|
||||||
const result = addEmojis('This post has :c++: emoji and :[a-z] {|}*: emoji', emojis)
|
const result = addEmojis('This post has :c++: emoji and :[a-z] {|}*: emoji', emojis)
|
||||||
expect(result).to.include('title=\'c++\'')
|
expect(result).to.include('title=\':c++:\'')
|
||||||
expect(result).to.include('title=\'[a-z] {|}*\'')
|
expect(result).to.include('title=\':[a-z] {|}*:\'')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue