File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ process.env.TEST_GETENV_FLOAT2 = '0.0';
1313process . env . TEST_GETENV_INFINITY1 = Infinity ;
1414process . env . TEST_GETENV_INFINITY2 = - Infinity ;
1515process . env . TEST_GETENV_FALSE = 'false' ;
16+ process . env . TEST_GETENV_FALSE1 = 'False' ;
1617process . env . TEST_GETENV_FALSE2 = 'FALSE' ;
1718process . env . TEST_GETENV_TRUE = 'true' ;
19+ process . env . TEST_GETENV_TRUE1 = 'True' ;
1820process . env . TEST_GETENV_TRUE2 = 'TRUE' ;
1921process . env . TEST_GETENV_NOT_REALLY_TRUE = '1' ;
2022process . env . TEST_GETENV_NOT_REALLY_FALSE = '0' ;
@@ -204,6 +206,10 @@ tests['getenv.bool() valid input'] = function () {
204206 varName : 'TEST_GETENV_FALSE' ,
205207 expected : false ,
206208 } ,
209+ {
210+ varName : 'TEST_GETENV_FALSE1' ,
211+ expected : false ,
212+ } ,
207213 {
208214 varName : 'TEST_GETENV_FALSE2' ,
209215 expected : false ,
@@ -212,6 +218,10 @@ tests['getenv.bool() valid input'] = function () {
212218 varName : 'TEST_GETENV_TRUE' ,
213219 expected : true ,
214220 } ,
221+ {
222+ varName : 'TEST_GETENV_TRUE1' ,
223+ expected : true ,
224+ } ,
215225 {
216226 varName : 'TEST_GETENV_TRUE2' ,
217227 expected : true ,
You can’t perform that action at this time.
0 commit comments