'use strict'; let hljs = require('../../build'); let should = require('should'); describe('.highlight()', function() { it('should works without continuation', function() { const code = "public void moveTo(int x, int y, int z);"; const result = hljs.highlight('java', code, false, false); result.value.should.equal( 'public ' + 'void moveTo' + '(int x, ' + 'int y, ' + 'int z);' ); }); });