MCPcopy Index your code
hub / github.com/cdimascio/dotenv-java / dotenvIgnoreMalformed

Method dotenvIgnoreMalformed

src/test/java/tests/BasicTests.java:31–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 @Test
32 void dotenvIgnoreMalformed() {
33 final var dotenv = Dotenv.configure()
34 .directory("./src/test/resources")
35 .ignoreIfMalformed()
36 .load();
37
38 envVars.forEach((key, expected) -> assertEquals(expected, dotenv.get(key)));
39 assertHostEnvVar(dotenv);
40 }
41
42 @Test
43 void dotenvDuplicateVariable() {

Callers

nothing calls this directly

Calls 6

configureMethod · 0.95
assertHostEnvVarMethod · 0.95
ignoreIfMalformedMethod · 0.80
directoryMethod · 0.80
loadMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected