Skip to content

Commit a72e513

Browse files
committed
test_pkey_dh.rb: test_new_break: Rename tests reflecting the fact.
1 parent 6651f8c commit a72e513

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/openssl/test_pkey_dh.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ def test_new_generate
1818
assert_key(dh)
1919
end if ENV["OSSL_TEST_ALL"]
2020

21-
def test_new_break_on_non_fips
22-
omit_on_fips if !aws_lc?
21+
def test_new_break_on_non_fips_or_aws_lc
22+
omit_on_fips unless aws_lc?
2323

2424
assert_nil(OpenSSL::PKey::DH.new(NEW_KEYLEN) { break })
2525
assert_raise(RuntimeError) do
2626
OpenSSL::PKey::DH.new(NEW_KEYLEN) { raise }
2727
end
2828
end
2929

30-
def test_new_break_on_fips
30+
def test_new_break_on_openssl_fips
3131
omit_on_non_fips
3232
return unless openssl? # This behavior only applies to OpenSSL.
3333

0 commit comments

Comments
 (0)