savi-lang / TCP

TCP networking implementation for the Savi standard library.
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Add assertions and async fulfillment to TCP specs. #11

Open jemc opened 2 years ago

jemc commented 2 years ago

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.