Skip to content

Commit a39cefe

Browse files
committed
Ruby: fix broken test
1 parent 334d5b1 commit a39cefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/test/library-tests/dataflow/helpers/dataflow.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ query DataFlow::ModuleNode getXYClasses() {
6161
query DataFlow::HashLiteralNode hashLiteralNode() { any() }
6262

6363
query DataFlow::Node hashLiteralKey(DataFlow::HashLiteralNode node, string key) {
64-
result = node.getElementFromKey(Ast::ConstantValue::getStringlikeValue(key))
64+
result = node.getElementFromKey(Ast::ConstantValue::fromStringlikeValue(key))
6565
}
6666

6767
query DataFlow::ArrayLiteralNode arrayLiteralNode() { any() }

0 commit comments

Comments
 (0)