3 lines
115 B
Bash
Executable file
3 lines
115 B
Bash
Executable file
#!/bin/sh
|
|
grep '\<assert\>' -- $(git ls-files | grep '\.[hc]$' | grep -vE '^(contrib|bench|tests)/')
|
|
test $? -eq 1
|