]> git.corax.cc Git - toolbox/commit
test/toolbox: Add test cases for interface/implements mechanism
authorMatthias Kruk <m@m10k.eu>
Sun, 15 Jan 2023 09:22:19 +0000 (18:22 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 15 Jan 2023 09:22:19 +0000 (18:22 +0900)
commitbc3e83f463915fc89e8c574981546624b5c2f242
tree94c2383a505e144101f8f48e9c09506572c75479
parentd4a8372b03f1a0c4a1a7180782e1bd0d46d38e8e
test/toolbox: Add test cases for interface/implements mechanism

There are no test cases for the interface/implements mechanism, making
it hard to tell if it works as intended, and if there are regressions.

This commit adds shellspec test cases for the behavior of `interface()'
and `implements()'.
test/include/car.sh [new file with mode: 0644]
test/include/invaliface.sh [new file with mode: 0644]
test/include/trabant.sh [new file with mode: 0644]
test/include/vehicle.sh [new file with mode: 0644]