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 d31aac0 commit a91db19Copy full SHA for a91db19
tests/Dotenv/DotenvTest.php
@@ -65,6 +65,7 @@ public function testQuotedDotenvLoadsEnvironmentVars()
65
$this->assertEmpty(getenv('QNULL'));
66
$this->assertSame('pgsql:host=localhost;dbname=test', getenv('QEQUALS'));
67
$this->assertSame('test some escaped characters like a quote (") or maybe a backslash (\\)', getenv('QESCAPED'));
68
+ $this->assertSame('iiiiviiiixiiiiviiii\\n', getenv('QSLASH'));
69
}
70
71
public function testLargeDotenvLoadsEnvironmentVars()
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