Skip to content

Commit 9d96b73

Browse files
committed
Ruby: Fixup test annotation
1 parent 07e0bd3 commit 9d96b73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ruby/ql/test/query-tests/security/cwe-295/RestClient.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
# GOOD
2424
resource = RestClient::Resource.new("https://example.com", verify_ssl: OpenSSL::SSL::VERIFY_PEER)
2525
response = resource.get
26-
# BAD
26+
# GOOD
2727
resource = RestClient::Resource.new("https://example.com", { verify_ssl: OpenSSL::SSL::VERIFY_PEER })
2828
response = resource.get
2929

3030
# GOOD
3131
options = { verify_ssl: OpenSSL::SSL::VERIFY_PEER }
3232
resource = RestClient::Resource.new("https://example.com", options)
33-
response = resource.get
33+
response = resource.get

0 commit comments

Comments
 (0)