Skip to content

Commit 3c5f70d

Browse files
committed
Ruby: And another missing tag.
1 parent c0c8958 commit 3c5f70d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

ruby/ql/test/query-tests/experimental/improper-memoization/ImproperMemoization.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
testFailures
2-
| improper_memoization.rb:100:1:104:3 | m14 | Unexpected result: result=BAD |
32
#select
43
| improper_memoization.rb:50:1:55:3 | m7 | improper_memoization.rb:50:8:50:10 | arg | improper_memoization.rb:51:3:53:5 | ... \|\|= ... |
54
| improper_memoization.rb:58:1:63:3 | m8 | improper_memoization.rb:58:8:58:10 | arg | improper_memoization.rb:59:3:61:5 | ... \|\|= ... |

ruby/ql/test/query-tests/experimental/improper-memoization/improper_memoization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ def m14(arg)
101101
@m14 ||= {}
102102
key = "foo/#{arg}"
103103
@m14[key] ||= long_running_method(arg)
104-
end
104+
end # $ SPURIOUS: result=BAD

0 commit comments

Comments
 (0)