8000 Apply suggestions from code review · coder/coder@7160dda · GitHub
[go: up one dir, main page]

Skip to content

Commit 7160dda

Browse files
authored
Apply suggestions from code review
1 parent fbf2e00 commit 7160dda

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

agent/agentcontainers/devcontainer_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ func TestExtractAndInitializeDevcontainerScripts(t *testing.T) {
229229
},
230230
}
231231
for _, tt := range tests {
232+
tt := tt
232233
t.Run(tt.name, func(t *testing.T) {
233234
t.Parallel()
234235
if tt.skipOnWindowsDueToPathSeparator && filepath.Separator == '\\' {

agent/agentscripts/agentscripts_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ func TestExecuteOptions(t *testing.T) {
231231
}
232232

233233
for _, tc := range testCases {
234+
tc := tc
234235
t.Run(tc.name, func(t *testing.T) {
235236
t.Parallel()
236237

0 commit comments

Comments
 (0)
0