Ruby: fix broken test

This commit is contained in:
Asger F
2022-11-07 14:01:11 +01:00
parent 334d5b1b17
commit a39cefe40f

View File

@@ -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() }