Skip to content

Commit

Permalink
test: Modified expections cuz they don't need to care about nil span
Browse files Browse the repository at this point in the history
  • Loading branch information
jmatsu committed Oct 31, 2023
1 parent 7a2e7af commit 1cf3bc0
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions spec/android_apk/app_signature_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@
it "returns a ranged information that covert the given sdk version" do
expect(app_signature.fingerprints).to match_array(
[

{
"min_sdk_version" => 15,
"max_sdk_version" => 23,
"md5" => nil,
"sha1" => nil,
"sha256" => nil
},
{
"min_sdk_version" => 24,
"max_sdk_version" => 2_147_483_647,
Expand Down Expand Up @@ -207,15 +199,7 @@
"sha256" => "901ee5b342ed8c0552196f9347c009e2864af44ac0e77ab7f4cca431d1692119"
}
)
expect(app_signature.get_fingerprint(sdk_version: 16)).to eq(
{
"min_sdk_version" => 15,
"max_sdk_version" => 23,
"md5" => nil,
"sha1" => nil,
"sha256" => nil
}
)
expect(app_signature.get_fingerprint(sdk_version: 16)).to be_nil
end
end

Expand Down

0 comments on commit 1cf3bc0

Please sign in to comment.