File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
liquidjava-verifier/src/main/java/liquidjava/diagnostics/errors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,18 +43,18 @@ public String getCounterExampleString() {
4343
4444 List <String > foundVarNames = new ArrayList <>();
4545 found .getValue ().getVariableNames (foundVarNames );
46- String counterexampleExp = counterexample .assignments ().stream ()
46+ String counterexampleString = counterexample .assignments ().stream ()
4747 // only include variables that appear in the found value
4848 .filter (a -> foundVarNames .contains (a .first ()))
4949 // format as "var == value"
5050 .map (a -> a .first () + " == " + a .second ())
5151 // join with "&&"
5252 .collect (Collectors .joining (" && " ));
5353
54- if (counterexampleExp .isEmpty () || counterexampleExp .equals (found .getValue ().toString ()))
54+ if (counterexampleString .isEmpty () || counterexampleString .equals (found .getValue ().toString ()))
5555 return null ;
5656
57- return counterexampleExp ;
57+ return counterexampleString ;
5858 }
5959
6060 public Counterexample getCounterexample () {
You can’t perform that action at this time.
0 commit comments