-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): update env to match compiler (#95)
* feat(build): update env to match compiler * go fmt Co-authored-by: David May <[email protected]>
- Loading branch information
1 parent
1d96b18
commit 1657f6b
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,6 +172,7 @@ func TestLibrary_Build_Environment(t *testing.T) { | |
"VELA_BUILD_TITLE": "push received from https://github.com/github/octocat", | ||
"VELA_BUILD_WORKSPACE": "TODO", | ||
"VELA_DEPLOYMENT": "production", | ||
"BUILD_TARGET": "production", | ||
"BUILD_AUTHOR": "OctoKitty", | ||
"BUILD_AUTHOR_EMAIL": "[email protected]", | ||
"BUILD_BASE_REF": "", | ||
|
@@ -314,7 +315,7 @@ func TestLibrary_Build_Environment(t *testing.T) { | |
|
||
// run test | ||
for _, test := range tests { | ||
got := test.build.Environment() | ||
got := test.build.Environment("TODO") | ||
|
||
if !reflect.DeepEqual(got, test.want) { | ||
t.Errorf("Environment is %v, want %v", got, test.want) | ||
|