GeoSales-Evolution / self-deployable-docker

Docker repo capable of deploying itself... or something like that
MIT License
2 stars 2 forks source link

Fix warning in test cases #43

Closed jeffque closed 1 year ago

jeffque commented 1 year ago

Lines like this one 👇

container.startCommand &(expectation("-p 27"))

are yielding warnings like those 👇

 `&' interpreted as argument prefix

This warning indicates a possible of ambiguity in the syntax construction. To avoid this ambiguity, one should put the block in parenthesis, like this 👇

container.startCommand(&expectation("-p 27"))
jeffque commented 1 year ago

This fix was hinted by @EronAlves1996