Skip to content

Commit

Permalink
Adding test group for reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Mar 22, 2014
1 parent 4619c43 commit a1fdce3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/ZendTest/Code/Generator/ValueGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,17 @@ public function testPropertyDefaultValueCanHandleArrayWithUnsortedKeys()
$this->assertEquals($expectedSource, $valueGenerator->generate());
}

/**
* @group 6023
*/
public function testEscapesBackslash()
{
$this->assertSame('\\\\', ValueGenerator::escape('\\', false));
}

/**
* @group 6023
*/
public function testEscapesQuotes()
{
$this->assertSame('\\\'', ValueGenerator::escape('\'', false));
Expand Down

0 comments on commit a1fdce3

Please sign in to comment.