Skip to content

Commit

Permalink
Fix segmentation fault in nested suite test
Browse files Browse the repository at this point in the history
  • Loading branch information
cegonse committed Sep 16, 2024
1 parent a48aa0d commit 14f7605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/examples/test_nested_suites.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <cest>

describe("the first test suite", []() {
int v = 0;
int v = 0;

describe("the first test suite", []() {
beforeEach([&]() {
v = 10;
});
Expand Down

0 comments on commit 14f7605

Please sign in to comment.