presentations/highlight-js/test/special/subLanguages.js

18 lines
478 B
JavaScript
Raw Normal View History

2018-12-07 08:48:05 -06:00
'use strict';
let utility = require('../utility');
describe('sub-languages', function() {
before(function() {
this.block = document.querySelector('#sublanguages');
});
it('should highlight XML with PHP and JavaScript', function() {
const filename = utility.buildPath('fixtures', 'expect',
'sublanguages.txt'),
actual = this.block.innerHTML;
return utility.expectedFile(filename, 'utf-8', actual);
});
});