File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
liquidjava-example/src/main/java/testSuite/classes/overload_constructors_error
liquidjava-verifier/src/test/java/liquidjava/api/tests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ void test3(){
1010 void test4 (){
1111 Throwable originT = new Throwable ();
1212 Throwable t = new Throwable (originT );
13- t .initCause (null );// should be an error but its not
13+ t .initCause (null ); // State Refinement Error
1414 t .getCause ();
1515 }
1616
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ else if (shouldFail(pathName)) {
6565 if (!expected .isEmpty ()) {
6666 for (LJError e : diagnostics .getErrors ()) {
6767 String foundError = e .getTitle ();
68- int errorPosition = e .getPosition ().lineStart ();
68+ int errorPosition = e .getPosition ().getLine ();
6969 boolean match = expected .stream ().anyMatch (
7070 pair -> pair .errorMessage ().equals (foundError ) && pair .lineNumber () == errorPosition );
7171
You can’t perform that action at this time.
0 commit comments