From 226efb3ad7affd185c10088f6b010783d87bac8d Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Wed, 1 Jul 2026 16:52:38 +0100 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../library-tests/frameworks/active_support/hash_extensions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/ql/test/library-tests/frameworks/active_support/hash_extensions.rb b/ruby/ql/test/library-tests/frameworks/active_support/hash_extensions.rb index 633ae1a8285..117ceb59d20 100644 --- a/ruby/ql/test/library-tests/frameworks/active_support/hash_extensions.rb +++ b/ruby/ql/test/library-tests/frameworks/active_support/hash_extensions.rb @@ -124,7 +124,7 @@ def m_sole sink(empty.sole) sink(single.sole) # $ hasValueFlow=a # TODO: model that 'sole' does not return if the receiver has multiple elements - sink(multi.sole) # $ SPURIOUS: Unexpected result: hasValueFlow=b + sink(multi.sole) # $ SPURIOUS: hasValueFlow=b end m_sole()