mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Simplify _.unescape unit test.
Former-commit-id: 113ee8e94a5a6a7d72b4e39672c60d67342def49
This commit is contained in:
@@ -2386,8 +2386,8 @@
|
||||
QUnit.module('lodash.unescape');
|
||||
|
||||
(function() {
|
||||
var escaped = '<h1>Moe's famous "death by chocolate" brownies & cake<\/h1>',
|
||||
unescaped = '<h1>Moe\'s famous "death by chocolate" brownies & cake<\/h1>';
|
||||
var escaped = '&<>"'\/',
|
||||
unescaped = '&<>"\'\/';
|
||||
|
||||
test('should unescape entities in the correct order', function() {
|
||||
equal(_.unescape('&lt;'), '<');
|
||||
|
||||
Reference in New Issue
Block a user