Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Commit

Permalink
Fix dangling var
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer committed Mar 28, 2017
1 parent a2231a6 commit a0bec78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,9 @@ func TestGetSources(t *testing.T) {
wg.Add(len(pil))
for _, pi := range pil {
lpi := pi
t.Run(string(pi.ProjectRoot), func(t *testing.T) {
t.Run(lpi.normalizedSource(), func(t *testing.T) {
defer wg.Done()

nn := lpi.normalizedSource()
srcg, err := sm.srcCoord.getSourceGatewayFor(ctx, lpi)
if err != nil {
t.Errorf("unexpected error setting up source: %s", err)
Expand Down

0 comments on commit a0bec78

Please sign in to comment.