Make it possible to alter code inside of the bash script
This commit is contained in:
parent
f87d6bd4c8
commit
4508d3f1b3
2 changed files with 12 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -49,3 +49,14 @@ dotnet build
|
|||
(assert_fails dotnet test --no-build) | grep "Invalid URL"
|
||||
```
|
||||
~~~
|
||||
|
||||
Assert that a commit builds, and that a specific change breaks the tests (as discussed [here](https://sven.memcmp.org/2026-02-20-writing-the-steps-to-validate-a-test-in-the-commit-message/)):
|
||||
|
||||
~~~
|
||||
```git-check-assertions
|
||||
dotnet test
|
||||
sed -i '/crucial code/d' Main.fs
|
||||
dotnet build
|
||||
assert_fails dotnet test --no-build
|
||||
```
|
||||
~~~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue