mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +03:00
Fix php-spec
This commit is contained in:
parent
2273ed4eb0
commit
b41599982b
@ -9,7 +9,7 @@ describe('PHP grammar', function() {
|
||||
grammar = atom.grammars.grammarForScopeName('source.php');
|
||||
this.addMatchers({
|
||||
toContainAll(arr) {
|
||||
arr.every(el => {
|
||||
return arr.every(el => {
|
||||
return this.actual.includes(el);
|
||||
});
|
||||
}
|
||||
@ -3734,7 +3734,7 @@ GITHUB;\
|
||||
it('should tokenize a heredoc with embedded HTML and interpolation correctly', function() {
|
||||
waitsForPromise(() => atom.packages.activatePackage('language-html'));
|
||||
|
||||
return runs(function() {
|
||||
runs(function() {
|
||||
const lines = grammar.tokenizeLines(`\
|
||||
$a = <<<HTML
|
||||
<strong>rainbows</strong>
|
||||
|
Loading…
Reference in New Issue
Block a user