We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
testFail*
1 parent dc5c3bb commit 7d3772aCopy full SHA for 7d3772a
contracts/test/Fibonacci.t.sol
@@ -47,7 +47,9 @@ contract FibonacciGroth16Test is Test {
47
assert(b == fixture.b);
48
}
49
50
- function testFail_InvalidFibonacciProof() public view {
+ function testRevert_InvalidFibonacciProof() public {
51
+ vm.expectRevert();
52
+
53
SP1ProofFixtureJson memory fixture = loadFixture();
54
55
// Create a fake proof.
@@ -90,7 +92,9 @@ contract FibonacciPlonkTest is Test {
90
92
91
93
94
95
96
97
98
99
100
0 commit comments