Add a small 'passTest' helper
This is symmetric to failTest, and allows us to use it in cases where we need to return a property. While replacing 'property True' with it, I saw a case where we can simplify the use and thus reworked that check. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
Showing
- htest/Test/Ganeti/HTools/CLI.hs 5 additions, 6 deletionshtest/Test/Ganeti/HTools/CLI.hs
- htest/Test/Ganeti/HTools/Cluster.hs 1 addition, 1 deletionhtest/Test/Ganeti/HTools/Cluster.hs
- htest/Test/Ganeti/HTools/Node.hs 3 additions, 3 deletionshtest/Test/Ganeti/HTools/Node.hs
- htest/Test/Ganeti/JSON.hs 1 addition, 1 deletionhtest/Test/Ganeti/JSON.hs
- htest/Test/Ganeti/TestCommon.hs 4 additions, 0 deletionshtest/Test/Ganeti/TestCommon.hs
Loading
Please register or sign in to comment