Skip to content

Commit e1a4e35

Browse files
committed
Update unit test to use current API
A repoURL parameter was added to the UpdateLibrary function but the TestUpdateLibraryJson unit test was not updated accordingly at that time, causing a spurious test failure.
1 parent f3a416c commit e1a4e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arduino.cc/repository/libraries/git_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func TestUpdateLibraryJson(t *testing.T) {
5252
require.NoError(t, err)
5353
require.NotEmpty(t, zipFilePath)
5454

55-
err = UpdateLibrary(release, libraryDb)
55+
err = UpdateLibrary(release, r.URL, libraryDb)
5656
require.NoError(t, err)
5757

5858
}

0 commit comments

Comments
 (0)