Example #1
0
 public function testConditionalScriptNoIEWidthSpace()
 {
     $this->helper->setAllowArbitraryAttributes(true);
     $this->helper->appendFile('/js/foo.js', 'text/javascript', array('conditional' => '! IE'));
     $test = $this->helper->toString();
     $this->assertContains('<!--[if ! IE]><!--><', $test);
     $this->assertContains('<!--<![endif]-->', $test);
 }