We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebe2dcd commit be54bb0Copy full SHA for be54bb0
1 file changed
liquidjava-example/src/main/java/testSuite/classes/state_test_method_error/EditMisuse.java
@@ -21,4 +21,14 @@ public static void wrongTesterForRedo(AbstractUndoableEdit edit) {
21
edit.redo(); // State Refinement Error
22
}
23
24
+
25
+ public static void wrongTester2() {
26
+ AbstractUndoableEdit edit = new AbstractUndoableEdit();
27
+ edit.undo(); // edit: aliveNotDone
28
+ if (edit.canUndo()) { // is canUndo() == true --> edit: aliveDone
29
30
+ }
31
+ edit.undo(); // is "aliveDone(this)"? not in any path
32
33
34
0 commit comments