Skip to content

Commit

Permalink
docs: use cpp instead of c++ for code gates
Browse files Browse the repository at this point in the history
So it renders correctly on docs.pact.io
  • Loading branch information
bethesque authored Aug 30, 2020
1 parent 40524d4 commit 7688c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consumer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Matches a URL composed of a base path and a list of path fragments. The path fra
for example:
```c++
```cpp
Object({ "url", Url("http://localhost/tasks", { EqualTo("1001"), Matching("\\d+", "200") }) })
```

Expand All @@ -277,7 +277,7 @@ The actual test is then run with the `run_test` method. This takes a clsoure to

For example:

```c++
```cpp
auto result = provider.run_test([] (auto mock_server) {
// setup any client code you have. The mock_server parameter has the base address of the mock server started for the test
TodoClient todo;
Expand Down

0 comments on commit 7688c49

Please sign in to comment.