Skip to content

Commit

Permalink
[4.3] Dropped invalid tests (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Oct 15, 2022
1 parent c349cad commit afb6dd2
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/Dotenv/LinesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,4 @@ public function testProcessQuotes()

self::assertSame($expected, Lines::process(preg_split("/(\r\n|\n|\r)/", $content)));
}

public function testProcessClosingSlash()
{
$lines = [
'SPVAR5="test some escaped characters like a quote \" or maybe a backslash \\" # not escaped',
];

$expected = [
'SPVAR5="test some escaped characters like a quote \" or maybe a backslash \\" # not escaped',
];

self::assertSame($expected, $lines);
}

public function testProcessBadQuotes()
{
$lines = [
"TEST=\"erert\nTEST='erert\n",
];

$expected = [
"TEST=\"erert\nTEST='erert\n",
];

self::assertSame($expected, $lines);
}
}

0 comments on commit afb6dd2

Please sign in to comment.