Debian Codegraph @

src/Util/Tactics/Test.v

raw
1 (** Test if a tactic succeeds, but always roll-back the results *)
2 Tactic Notation "test" tactic3(tac) :=
3 try (first [ tac | fail 2 tac "does not succeed" ]; fail 0 tac "succeeds"; [](* test for [t] solved all goals *)).