We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c540a commit 667c0b3Copy full SHA for 667c0b3
tests/Dotenv/DotenvTest.php
@@ -86,6 +86,7 @@ public function testQuotedDotenvLoadsEnvironmentVars()
86
$this->assertEmpty(getenv('QNULL'));
87
$this->assertSame('pgsql:host=localhost;dbname=test', getenv('QEQUALS'));
88
$this->assertSame('test some escaped characters like a quote (") or maybe a backslash (\\)', getenv('QESCAPED'));
89
+ $this->assertSame('iiiiviiiixiiiiviiii\\n', getenv('QSLASH'));
90
}
91
92
public function testExportedDotenvLoadsEnvironmentVars()
tests/fixtures/env/quoted.env
@@ -7,3 +7,4 @@ QNULL=""
7
QWHITESPACE = "no space"
8
9
QESCAPED="test some escaped characters like a quote (\") or maybe a backslash (\\)"
10
+QSLASH="iiiiviiiixiiiiviiii\\n"
0 commit comments