From ab499fa40edcd7fd44b99fd567d739941c74486d Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Tue, 3 Dec 2024 16:02:35 +0100 Subject: [PATCH] Ruby: update expected test results --- .../test/library-tests/concepts/CryptographicOperation.expected | 1 - .../dataflow/api-graphs/VerifyApiGraphExpectations.expected | 1 - .../dataflow/barrier-guards/barrier-guards.expected | 1 - .../dataflow/global/TypeTrackingInlineTest.expected | 1 - .../dataflow/hash-flow/type-tracking-hash-flow.expected | 1 - .../improper-memoization/ImproperMemoization.expected | 1 - .../IncompleteMultiCharacterSanitization.expected | 1 - .../query-tests/security/cwe-300/InsecureDependency.expected | 1 - .../test/query-tests/security/cwe-829/InsecureDownload.expected | 1 - 9 files changed, 9 deletions(-) diff --git a/ruby/ql/test/library-tests/concepts/CryptographicOperation.expected b/ruby/ql/test/library-tests/concepts/CryptographicOperation.expected index 48de9172b362f..a7efd9141cbf9 100644 --- a/ruby/ql/test/library-tests/concepts/CryptographicOperation.expected +++ b/ruby/ql/test/library-tests/concepts/CryptographicOperation.expected @@ -1,2 +1 @@ -failures testFailures diff --git a/ruby/ql/test/library-tests/dataflow/api-graphs/VerifyApiGraphExpectations.expected b/ruby/ql/test/library-tests/dataflow/api-graphs/VerifyApiGraphExpectations.expected index 8ec8033d086e0..a7efd9141cbf9 100644 --- a/ruby/ql/test/library-tests/dataflow/api-graphs/VerifyApiGraphExpectations.expected +++ b/ruby/ql/test/library-tests/dataflow/api-graphs/VerifyApiGraphExpectations.expected @@ -1,2 +1 @@ testFailures -failures diff --git a/ruby/ql/test/library-tests/dataflow/barrier-guards/barrier-guards.expected b/ruby/ql/test/library-tests/dataflow/barrier-guards/barrier-guards.expected index 21d697c86e93a..919dcb71c2fc2 100644 --- a/ruby/ql/test/library-tests/dataflow/barrier-guards/barrier-guards.expected +++ b/ruby/ql/test/library-tests/dataflow/barrier-guards/barrier-guards.expected @@ -1,5 +1,4 @@ testFailures -failures newStyleBarrierGuards | barrier-guards.rb:3:16:4:19 | [input] SSA phi read(foo) | | barrier-guards.rb:4:5:4:7 | foo | diff --git a/ruby/ql/test/library-tests/dataflow/global/TypeTrackingInlineTest.expected b/ruby/ql/test/library-tests/dataflow/global/TypeTrackingInlineTest.expected index 0f65c470b9c91..a005b9cde9dd9 100644 --- a/ruby/ql/test/library-tests/dataflow/global/TypeTrackingInlineTest.expected +++ b/ruby/ql/test/library-tests/dataflow/global/TypeTrackingInlineTest.expected @@ -30,4 +30,3 @@ testFailures | instance_variables.rb:114:23:114:41 | # $ hasValueFlow=28 | Missing result: hasValueFlow=28 | | instance_variables.rb:117:23:117:41 | # $ hasValueFlow=29 | Missing result: hasValueFlow=29 | | instance_variables.rb:120:23:120:41 | # $ hasValueFlow=30 | Missing result: hasValueFlow=30 | -failures diff --git a/ruby/ql/test/library-tests/dataflow/hash-flow/type-tracking-hash-flow.expected b/ruby/ql/test/library-tests/dataflow/hash-flow/type-tracking-hash-flow.expected index c3d0d531ffa75..778d69dd0793a 100644 --- a/ruby/ql/test/library-tests/dataflow/hash-flow/type-tracking-hash-flow.expected +++ b/ruby/ql/test/library-tests/dataflow/hash-flow/type-tracking-hash-flow.expected @@ -21,4 +21,3 @@ testFailures | hash_flow.rb:779:10:779:14 | ...[...] | Unexpected result: hasValueFlow=46.3 | | hash_flow.rb:781:10:781:17 | ...[...] | Unexpected result: hasValueFlow=46.1 | | hash_flow.rb:784:10:784:17 | ...[...] | Unexpected result: hasValueFlow=46.3 | -failures diff --git a/ruby/ql/test/query-tests/experimental/improper-memoization/ImproperMemoization.expected b/ruby/ql/test/query-tests/experimental/improper-memoization/ImproperMemoization.expected index 86c29d64b6ef0..36c07e3e1050f 100644 --- a/ruby/ql/test/query-tests/experimental/improper-memoization/ImproperMemoization.expected +++ b/ruby/ql/test/query-tests/experimental/improper-memoization/ImproperMemoization.expected @@ -1,4 +1,3 @@ -failures testFailures | improper_memoization.rb:100:1:104:3 | m14 | Unexpected result: result=BAD | #select diff --git a/ruby/ql/test/query-tests/security/cwe-116/IncompleteMultiCharacterSanitization/IncompleteMultiCharacterSanitization.expected b/ruby/ql/test/query-tests/security/cwe-116/IncompleteMultiCharacterSanitization/IncompleteMultiCharacterSanitization.expected index 48de9172b362f..a7efd9141cbf9 100644 --- a/ruby/ql/test/query-tests/security/cwe-116/IncompleteMultiCharacterSanitization/IncompleteMultiCharacterSanitization.expected +++ b/ruby/ql/test/query-tests/security/cwe-116/IncompleteMultiCharacterSanitization/IncompleteMultiCharacterSanitization.expected @@ -1,2 +1 @@ -failures testFailures diff --git a/ruby/ql/test/query-tests/security/cwe-300/InsecureDependency.expected b/ruby/ql/test/query-tests/security/cwe-300/InsecureDependency.expected index d123230e55dcc..c27dc45b686d9 100644 --- a/ruby/ql/test/query-tests/security/cwe-300/InsecureDependency.expected +++ b/ruby/ql/test/query-tests/security/cwe-300/InsecureDependency.expected @@ -1,4 +1,3 @@ -failures testFailures #select | Gemfile:2:8:2:28 | "http://rubygems.org" | Dependency source URL uses the unencrypted protocol HTTP. Use HTTPS instead. | diff --git a/ruby/ql/test/query-tests/security/cwe-829/InsecureDownload.expected b/ruby/ql/test/query-tests/security/cwe-829/InsecureDownload.expected index c025499f2e865..2ea527a3fc622 100644 --- a/ruby/ql/test/query-tests/security/cwe-829/InsecureDownload.expected +++ b/ruby/ql/test/query-tests/security/cwe-829/InsecureDownload.expected @@ -1,5 +1,4 @@ testFailures -failures edges | insecure_download.rb:31:5:31:7 | url | insecure_download.rb:33:15:33:17 | url | provenance | | | insecure_download.rb:31:5:31:7 | url | insecure_download.rb:33:15:33:17 | url | provenance | |