Browse Source

clarify _text sanitizer test message

pull/942/head
Lily He 7 years ago
parent
commit
a5cf44bef4
  1. 2
      test/unit/sanitizer/_text.js

2
test/unit/sanitizer/_text.js

@ -3,7 +3,7 @@ const sanitizer = require('../../../sanitizer/_text')();
module.exports.tests = {}; module.exports.tests = {};
module.exports.tests.text_parser = function(test, common) { module.exports.tests.text_parser = function(test, common) {
test('non-empty raw.text should call analyzer and set clean.text and not clean.parsed_text', t => { test('non-empty raw.text should overwrite clean.text', t => {
const raw = { const raw = {
text: 'raw input' text: 'raw input'
}; };

Loading…
Cancel
Save