Skip to content

Commit

Permalink
Update scripts/update-homebrew-formula.sh in soracom-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto-soracom committed Sep 24, 2024
1 parent a92b520 commit 8acca59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/update-homebrew-formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function cleanup {
trap cleanup EXIT

cd "$tmpdir"
git clone git@github.com:soracom/homebrew-soracom-cli
git clone https://github.com/soracom/homebrew-soracom-cli.git
cd homebrew-soracom-cli
git checkout master
bash ./update-formula.sh "$version"
Expand Down
3 changes: 2 additions & 1 deletion soracom/generated/cmd/self_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package cmd
import (
"os"
"runtime"
"strings"
"testing"

"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -202,5 +203,5 @@ func TestDetermineActualPathOf(t *testing.T) {

actualPath, err = determineActualPathOf(tempSymlinkPath)
assert.NoError(t, err)
assert.Equal(t, tempFilePath, actualPath)
assert.True(t, strings.Contains(actualPath, tempFilePath)) // https://github.com/soracom/soracom-cli/pull/99#pullrequestreview-2312477684
}

0 comments on commit 8acca59

Please sign in to comment.