1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

Fix container volumes being reused sometimes (#283)

This commit is contained in:
Stan Wohlwend 2020-06-18 17:21:55 +02:00 committed by GitHub
parent 555cdcebbb
commit f84aa60a04
4 changed files with 33 additions and 10 deletions

View file

@ -16,8 +16,8 @@ func TestRunContext_EvalBool(t *testing.T) {
Workdir: ".",
},
Env: map[string]string{
"TRUE": "true",
"FALSE": "false",
"TRUE": "true",
"FALSE": "false",
"SOME_TEXT": "text",
},
Run: &model.Run{
@ -52,8 +52,8 @@ func TestRunContext_EvalBool(t *testing.T) {
rc.ExprEval = rc.NewExpressionEvaluator()
tables := []struct {
in string
out bool
in string
out bool
}{
// The basic ones
{"true", true},