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

Method resourceRelative

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

Source from the content-addressed store, hash-verified

62 }
63
64 @Test
65 void resourceRelative() {
66 final var dotenv = Dotenv.configure()
67 .directory("./")
68 .ignoreIfMalformed()
69 .load();
70
71 assertEquals("my test ev 1", dotenv.get("MY_TEST_EV1"));
72 assertHostEnvVar(dotenv);
73 }
74
75 @Test
76 void resourceAbsoluteDir() {

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