79331907

Date: 2025-01-06 02:05:20
Score: 3
Natty:
Report link

I prefer to employ then if...then...elif...else... construct over logical connectives i.e.|| or &&, as the binding is tighter when employed in automated test frameworks - this is certainly true of BATS and do I wonder if it's also true of the wonder that is Shellspec? Do you observe the same errant/unwanted behaviour using a similar approach?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: David Pointon