Skip to content

Commit

Permalink
cleanup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Apr 30, 2019
1 parent 9f2058d commit c12e00c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions src/test/java/tests/JavaTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ public void iteratorOverDotenvWithFilter() {
.ignoreIfMalformed()
.load();

Map<String,String> m = new HashMap<String, String>() {{
put("test", "hi");
put("test1", "hi1");
}};

Set<DotenvEntry> entriesInFile = dotenv.entries(DotenvEntriesFilter.DECLARED_IN_ENV_FILE);
Set<DotenvEntry> entriesAll = dotenv.entries();
assertTrue(entriesInFile.size() < entriesAll.size());
Expand Down
8 changes: 0 additions & 8 deletions src/test/kotlin/tests/DslTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import io.github.cdimascio.dotenv.Dotenv
import io.github.cdimascio.dotenv.DotenvEntriesFilter
import io.github.cdimascio.dotenv.dotenv
import junit.framework.Assert.assertTrue
import java.util.HashMap
import kotlin.test.assertEquals
import kotlin.test.assertNotEquals
import kotlin.test.assertNotNull
Expand Down Expand Up @@ -100,13 +99,6 @@ class DotEnvDslTest {
.ignoreIfMalformed()
.load()

val m = object : HashMap<String, String>() {
init {
put("test", "hi")
put("test1", "hi1")
}
}

val entriesInFile = dotenv.entries(DotenvEntriesFilter.DECLARED_IN_ENV_FILE)
val entriesAll = dotenv.entries()
assertTrue(entriesInFile.size < entriesAll.size)
Expand Down

0 comments on commit c12e00c

Please sign in to comment.