Skip to content

Commit

Permalink
Merge pull request ccampbell#48 from GeertDD/test-php-tag-2
Browse files Browse the repository at this point in the history
Added second test for php tag
  • Loading branch information
ccampbell committed May 10, 2012
2 parents 2b408cb + c31d333 commit 95ff1bb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/language/php-test.js
Expand Up @@ -91,6 +91,14 @@ RainbowTester.run(
'<span class="variable language php-tag">&lt;?php</span> <span class="support">echo</span> <span class="variable dollar-sign">$</span><span class="variable">foo</span>; <span class="variable language php-tag">?&gt;</span>'
);

RainbowTester.run(
'php tag 2',

'&lt;?php echo \'?&gt;\'; ?&gt;',

'<span class="variable language php-tag">&lt;?php</span> <span class="support">echo</span> <span class="string">\'?&gt;\'</span>; <span class="variable language php-tag">?&gt;</span>'
);

RainbowTester.run(
'namespace declaration',

Expand Down

0 comments on commit 95ff1bb

Please sign in to comment.