@@ -90,7 +90,7 @@ abstract class DDSpecification extends Specification {
9090
9191 void setupSpec () {
9292 assert ! configModificationFailed: " Config class modification failed. Ensure all test classes extend DDSpecification"
93- // // assert System.getenv().findAll { it.key.startsWith("DD_") }.isEmpty()
93+ assert System . getenv(). findAll { it. key. startsWith(" DD_" ) }. isEmpty()
9494 assert systemPropertiesExceptAllowed(). findAll { it. key. toString(). startsWith(" dd." ) }. isEmpty()
9595
9696 if (getDDThreads(). isEmpty()) {
@@ -106,7 +106,7 @@ abstract class DDSpecification extends Specification {
106106 void cleanupSpec () {
107107 restoreProperties()
108108
109- // // assert System.getenv().findAll { it.key.startsWith("DD_") }.isEmpty()
109+ assert System . getenv(). findAll { it. key. startsWith(" DD_" ) }. isEmpty()
110110 assert systemPropertiesExceptAllowed(). findAll { it. key. toString(). startsWith(" dd." ) }. isEmpty()
111111
112112 if (isConfigInstanceModifiable) {
@@ -129,7 +129,7 @@ abstract class DDSpecification extends Specification {
129129 void setup () {
130130 restoreProperties()
131131
132- // // assert System.getenv().findAll { it.key.startsWith("DD_") }.isEmpty()
132+ assert System . getenv(). findAll { it. key. startsWith(" DD_" ) }. isEmpty()
133133 assert systemPropertiesExceptAllowed(). findAll { it. key. toString(). startsWith(" dd." ) }. isEmpty()
134134
135135 if (isConfigInstanceModifiable) {
@@ -140,7 +140,7 @@ abstract class DDSpecification extends Specification {
140140 void cleanup () {
141141 restoreProperties()
142142
143- // // assert System.getenv().findAll { it.key.startsWith("DD_") }.isEmpty()
143+ assert System . getenv(). findAll { it. key. startsWith(" DD_" ) }. isEmpty()
144144 assert systemPropertiesExceptAllowed(). findAll { it. key. toString(). startsWith(" dd." ) }. isEmpty()
145145
146146 if (isConfigInstanceModifiable) {
0 commit comments