File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
liquidjava-verifier/src/main/java/liquidjava/diagnostics/errors Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,12 @@ public String getCounterExampleString() {
4444 List <String > foundVarNames = new ArrayList <>();
4545 found .getValue ().getVariableNames (foundVarNames );
4646 String counterexampleExp = counterexample .assignments ().stream ()
47- .filter (a -> foundVarNames .contains (a .first ())) // only include variables that appear in the found value
48- .map (a -> a .first () + " == " + a .second ()) // format as "var == value"
49- .collect (Collectors .joining (" && " )); // join with "&&"
47+ // only include variables that appear in the found value
48+ .filter (a -> foundVarNames .contains (a .first ()))
49+ // format as "var == value"
50+ .map (a -> a .first () + " == " + a .second ())
51+ // join with "&&"
52+ .collect (Collectors .joining (" && " ));
5053
5154 if (counterexampleExp .isEmpty () || counterexampleExp .equals (found .getValue ().toString ()))
5255 return null ;
You can’t perform that action at this time.
0 commit comments