File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,9 @@ public function testMutlilineLoading()
229
229
$ dotenv = Dotenv::create ($ this ->fixturesFolder , 'multiline.env ' );
230
230
$ dotenv ->load ();
231
231
$ this ->assertSame ("test \n test \"test \"\n test " , getenv ('TEST ' ));
232
+ $ this ->assertSame ("test \ntest " , getenv ('TEST_ND ' ));
233
+ $ this ->assertSame ("test \ntest " , getenv ('TEST_NS ' ));
234
+
232
235
$ this ->assertSame ('https://vision.googleapis.com/v1/images:annotate?key= ' , getenv ('TEST_EQD ' ));
233
236
$ this ->assertSame ('https://vision.googleapis.com/v1/images:annotate?key= ' , getenv ('TEST_EQS ' ));
234
237
}
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public function testProcessQuotes()
30
30
31
31
$ expected = [
32
32
"TEST= \"test \n test \\\"test \\\"\n test \"" ,
33
+ "TEST_ND= \"test \\ntest \"" ,
34
+ 'TEST_NS= \'test \\ntest \'' ,
33
35
'TEST_EQD="https://vision.googleapis.com/v1/images:annotate?key=" ' ,
34
36
'TEST_EQS= \'https://vision.googleapis.com/v1/images:annotate?key= \'' ,
35
37
];
Original file line number Diff line number Diff line change @@ -2,5 +2,8 @@ TEST="test
2
2
test\"test\"
3
3
test"
4
4
5
+ TEST_ND = " test\n test"
6
+ TEST_NS = ' test\ntest'
7
+
5
8
TEST_EQD = " https://vision.googleapis.com/v1/images:annotate?key="
6
9
TEST_EQS = ' https://vision.googleapis.com/v1/images:annotate?key='
You can’t perform that action at this time.
0 commit comments