Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs: expected-failures should be expected_failures #281

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/conformance.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can customize the behavior of the tests using the following flags:
| `--json` | Return results as JSON to stdout. | `false` |
| `--proto` | Return results as binary serialized proto to stdout. | `false` |
| `--dump` | Output the expected results, without a command. | `false` |
| `--expected-failures` | `.yaml` file containing list of expected failures | None |
| `--expected_failures` | `.yaml` file containing list of expected failures | None |

## Components

Expand Down Expand Up @@ -65,7 +65,7 @@ controlled through the `-suite` and `-case` flags mentioned above.

The conformance test harness can be configured to expect certain failures. This
is useful for testing the behavior of a library when it encounters an invalid
message. To use this feature, pass the `--expected-failures` flag with a path to
message. To use this feature, pass the `--expected_failures` flag with a path to
a `.yaml` file containing a list of expected failures. The format of the file is
as follows:

Expand Down Expand Up @@ -94,7 +94,7 @@ Then we could run the conformance tests with the following command:

```shell
.tmp/bin/protovalidate-conformance \
--expected-failures=expected_failures.yaml \
--expected_failures=expected_failures.yaml \
my-executor
```

Expand Down
Loading