removed bats warnings (#1592)

This commit is contained in:
mmetc 2022-06-15 15:36:36 +02:00 committed by GitHub
parent ff72a3c1c7
commit b572f64dc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# this should have effect globally, for all tests
# https://github.com/bats-core/bats-core/blob/master/docs/source/warnings/BW02.rst
bats_require_minimum_version 1.5.0
debug() { debug() {
echo 'exec 1<&-; exec 2<&-; exec 1>&3; exec 2>&1' echo 'exec 1<&-; exec 2<&-; exec 1>&3; exec 2>&1'
} }