HOME test failures on Windows
See original GitHub issueI just made a fresh fork of java-dotenv and after cloning my fork and running mvn test
i receive a lot of test failures. The error is always the same.
[ERROR] Failures:
[ERROR] DotEnvDslTest.dotenvIgnoreMalformed:34 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvDslTest.dotenvIgnoreMissing:91 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvDslTest.resourceCurrent:72 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvDslTest.resourceFilename:60 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvDslTest.resourceRelative:47 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvTest.dotenvFilename:57 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvTest.dotenvIgnoreMalformed:38 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvTest.dotenvIgnoreMissing:101 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvTest.resourceCurrent:82 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[ERROR] DotEnvTest.resourceRelative:70 expected:<C:\Users\adm[]> but was:<C:\Users\adm[\]>
[INFO]
[ERROR] Tests run: 14, Failures: 10, Errors: 0, Skipped: 0
In my real world project I fixed ~this~ [issue #11] by specifying the directory as "."
:
Dotenv.configure().directory(".").ignoreIfMissing().load();
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Test Your PC for Failing Hardware: Tips and Tools
Here are the best computer hardware and PC diagnostic tests to scan your system and spot failing hardware before it's too late.
Read more >HP PCs - Testing for hardware failures in Windows 10
HP provides diagnostic software for testing hardware components on your computer and confirm hardware failures. Start with the Fast Test to quickly identify ......
Read more >How could new windows fail a water test?
A client recently sent me an email asking how brand new windows could fail a water test. That's a good question. The answer...
Read more >Troubleshoot Start menu errors - Windows Client
Learn how to troubleshoot common Start menu errors in Windows 10. For example, learn to troubleshoot errors related to deployment, crashes, ...
Read more >Diagnostics, feedback, and privacy in Windows
Learn how Microsoft collects and uses different kinds of diagnostic information to help fix problems quickly and improve your Windows experience, and how...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just tested the changes and the test errors are now resolved.
@Playacem Thank you for verifying. i’ll merge this to master