Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nck-mlcnv committed Sep 11, 2024
1 parent b5811db commit 61df2d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ private static List<String> instantiateTemplateQueries(QuerySource querySource,
// and store the variable names
var templateQueryString = templateQueries.getQuery(i);
final Matcher matcher = template.matcher(templateQueryString);
final var variables = new HashSet<String>();
final var variables = new LinkedHashSet<String>(); // a set, that preserves insertion order
while (matcher.find()) {
final var match = matcher.group();
final var variable = "?" + match.replaceAll("%%", "");
Expand Down

0 comments on commit 61df2d0

Please sign in to comment.