socketry / async

An awesome asynchronous event-driven reactor for Ruby.
MIT License
2.04k stars 85 forks source link

test gets in task #267

Closed emiltin closed 10 months ago

emiltin commented 11 months ago

Adds a test for #256

Test can be run with:

% bundle exec sus test/async/task.rb:812                             
1 passed out of 1 total (1 assertions)
๐Ÿ Finished in 723.0ยตs; 1383.126 assertions per second.
๐Ÿ‡ No slow tests found! Well done!

It succeeds on Mac, but I suspect it will hang on Windows, as it's essentially the example from #256.

Types of Changes

Contribution

ioquatix commented 10 months ago

We should probably try to add Windows to the CI matrix.