]> git.corax.cc Git - toolbox/commit
test: Add test cases for sem module
authorMatthias Kruk <m@m10k.eu>
Sat, 8 Oct 2022 13:51:07 +0000 (22:51 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 8 Oct 2022 13:51:07 +0000 (22:51 +0900)
commit8988c90aeff784785f597054d58cdcffe10ffc9e
tree182e1b021f04259f4c0ac0ef2244a713c4d19ab3
parent9afed7d10dab367b8ffcf4c403e0645e49dbd91e
test: Add test cases for sem module

There are currently no shellspec test cases for the sem module,
making it impossible to check if the module is working correctly.

This commit adds shellspec test cases for the public functions of
the sem module. The test cases are equivalent to the old BATS test
cases.
test/sem_spec.sh [new file with mode: 0644]