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(zh,en): update mistake in project_target.md #181

Merged
merged 2 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion manual/project_target.md
Original file line number Diff line number Diff line change
Expand Up @@ -3546,7 +3546,7 @@ By default, `xmake test` will wait until all tests have been run, no matter how
Sometimes, we want to interrupt the test directly if the first test fails, then we can enable it through the following configuration:

```lua
set_policy("test.return_zero_on_failure", true)
set_policy("test.stop_on_first_failure", true)
```

##### If the test fails, return zero
Expand Down
2 changes: 1 addition & 1 deletion zh-cn/manual/project_target.md
Original file line number Diff line number Diff line change
Expand Up @@ -3538,7 +3538,7 @@ running tests ...
而有时候,我们想在第一个测试没通过,就直接中断测试,那么我们可以通过下面的配置启用:

```lua
set_policy("test.return_zero_on_failure", true)
set_policy("test.stop_on_first_failure", true)
```

##### 测试失败返回0
Expand Down