At the time the specs were written, the Spec library had no way to asynchronously assert nor even to have an example that ran past its initial synchronous execution. As a result, the specs we have now just print some output about what happens with the sockets asynchronously, but a human actually has to read the output to know if something went wrong or not.
At the time the specs were written, the
Spec
library had no way to asynchronously assert nor even to have an example that ran past its initial synchronous execution. As a result, the specs we have now just print some output about what happens with the sockets asynchronously, but a human actually has to read the output to know if something went wrong or not.As of https://github.com/savi-lang/Spec/issues/5 the
Spec
library now has these asynchronous features, so we can update our specs to actually assert things.