Skip to content

Commit

Permalink
✅ [test] Source location with ""_test
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-jusiak authored and krzysztof-jusiak committed Dec 23, 2019
1 parent 94220e8 commit eb94835
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 92 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ All tests passed (11 asserts in 7 tests)
<p>
```cpp
"scenario"_test = [] {
"Scenario"_test = [] {
given("I have...") = [] {
when("I run...") = [] {
then("I expect...") = [] { expect(1_i == 1); };
Expand Down
2 changes: 1 addition & 1 deletion example/BDD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
int main() {
using namespace boost::ut;

"scenario"_test = [] {
"Scenario"_test = [] {
given("I have...") = [] {
when("I run...") = [] {
then("I expect...") = [] { expect(1_u == 1u); };
Expand Down

0 comments on commit eb94835

Please sign in to comment.