mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Ruby: fix broken test
This commit is contained in:
@@ -61,7 +61,7 @@ query DataFlow::ModuleNode getXYClasses() {
|
||||
query DataFlow::HashLiteralNode hashLiteralNode() { any() }
|
||||
|
||||
query DataFlow::Node hashLiteralKey(DataFlow::HashLiteralNode node, string key) {
|
||||
result = node.getElementFromKey(Ast::ConstantValue::getStringlikeValue(key))
|
||||
result = node.getElementFromKey(Ast::ConstantValue::fromStringlikeValue(key))
|
||||
}
|
||||
|
||||
query DataFlow::ArrayLiteralNode arrayLiteralNode() { any() }
|
||||
|
||||
Reference in New Issue
Block a user