Simplify _.unescape unit test.

Former-commit-id: 113ee8e94a5a6a7d72b4e39672c60d67342def49
This commit is contained in:
John-David Dalton
2013-02-08 19:04:02 -08:00
parent 65e1da34fa
commit 8ffb3ab3c4

View File

@@ -2386,8 +2386,8 @@
QUnit.module('lodash.unescape'); QUnit.module('lodash.unescape');
(function() { (function() {
var escaped = '<h1>Moe's famous "death by chocolate" brownies & cake<\/h1>', var escaped = '&<>"'\/',
unescaped = '<h1>Moe\'s famous "death by chocolate" brownies & cake<\/h1>'; unescaped = '&<>"\'\/';
test('should unescape entities in the correct order', function() { test('should unescape entities in the correct order', function() {
equal(_.unescape('&amp;lt;'), '&lt;'); equal(_.unescape('&amp;lt;'), '&lt;');