Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Feb 24, 2024
1 parent 905eab7 commit db52e14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestWrongHash(t *testing.T) {
PackageVersion: "0.0.1",
PackageSource: &RizinPackageSource{
URL: "https://github.com/rizinorg/jsdec/archive/refs/tags/v0.7.0.tar.gz",
Hash: "ef73ccc609c7c0b010fc33ffac51d9352451515e355684ca9f01883b4f4db5eb",
Hash: "sha256:2b2587dd117d48b284695416a7349a21c4dd30fbe75cc5890ed74945c9b474aa",
BuildSystem: "meson",
Directory: "p",
BuildArguments: []string{"-Djsc_folder=.."},
Expand Down Expand Up @@ -201,7 +201,7 @@ func TestDownloadGitPackage(t *testing.T) {
URL: "https://github.com/rizinorg/jsdec.git",
BuildSystem: "meson",
Directory: "",
BuildArguments: []string{},
BuildArguments: []string{"-Dstandalone=false"},
},
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/site_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func TestWrongPackageFormat(t *testing.T) {
summary: simple description
source:
url: https://github.com/rizinorg/jsdec/archive/refs/tags/v0.7.0.tar.gz
hash: 0f966e3c2c649cafa21c4466b783330c2b21baea
hash: sha256:2b2587dd117d48b284695416a7349a21c4dd30fbe75cc5890ed74945c9b474ea
build_system: meson
build_arguments:
- -Dstandalone=false
Expand All @@ -110,7 +110,7 @@ source:
summary: simple description
source:
url: https://github.com/rizinorg/jsdec/archive/refs/tags/v0.7.0.tar.gz
hash: 0f966e3c2c649cafa21c4466b783330c2b21baea
hash: sha256:2b2587dd117d48b284695416a7349a21c4dd30fbe75cc5890ed74945c9b474ea
build_system: meson
build_arguments:
- -Dstandalone=false
Expand Down

0 comments on commit db52e14

Please sign in to comment.