Example #1
0
 /**
  * Tests the process method for replacing colors
  *
  * @return  void
  *
  * @covers  Joomla\Application\Cli\ColorProcessor::replaceColors
  * @since   1.0
  */
 public function testProcessReplace()
 {
     $this->assertThat($this->object->process('<fg=red>foo</fg=red>'), $this->equalTo('foo'));
 }
 /**
  * Tests the process method for replacing colors
  *
  * @return  void
  *
  * @covers  Joomla\Application\Cli\ColorProcessor::replaceColors
  * @since   1.0
  */
 public function testProcessReplace()
 {
     $check = $this->winOs ? 'foo' : 'foo';
     $this->assertThat($this->object->process('<fg=red>foo</fg=red>'), $this->equalTo($check));
 }