mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
lib/upgrade: Tests should pass on darwin-386
This commit is contained in:
parent
dd9e1d61eb
commit
27d675a793
@ -9,6 +9,7 @@
|
|||||||
package upgrade
|
package upgrade
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"runtime"
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
@ -124,8 +125,8 @@ func TestSelectedReleaseMacOS(t *testing.T) {
|
|||||||
|
|
||||||
// The alternatives that we expect should work
|
// The alternatives that we expect should work
|
||||||
assetNames := []string{
|
assetNames := []string{
|
||||||
"syncthing-macos-amd64-v0.14.47.tar.gz",
|
fmt.Sprintf("syncthing-macos-%s-v0.14.47.tar.gz", runtime.GOARCH),
|
||||||
"syncthing-macosx-amd64-v0.14.47.tar.gz",
|
fmt.Sprintf("syncthing-macosx-%s-v0.14.47.tar.gz", runtime.GOARCH),
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, assetName := range assetNames {
|
for _, assetName := range assetNames {
|
||||||
|
Loading…
Reference in New Issue
Block a user