Skip to content

Commit b9805d2

Browse files
committed
fix tests for win
1 parent d2c3b29 commit b9805d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/groovy/ru/vyarus/gradle/plugin/python/task/PythonTaskKitTest.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,10 @@ class PythonTaskKitTest extends AbstractKitTest {
224224
"""
225225

226226
when: "run task"
227+
def env = new HashMap(System.getenv())
228+
env.put('some', 'foo')
227229
BuildResult result = gradle('sample')
228-
.withEnvironment(['some': 'foo', 'PATH': System.getenv('PATH')])
230+
.withEnvironment(env)
229231
.build()
230232

231233
then: "executed"

0 commit comments

Comments
 (0)