FuelLabs / sway

🌴 Empowering everyone to build reliable and efficient smart contracts.
https://docs.fuel.network/docs/sway/
Apache License 2.0
62.84k stars 5.35k forks source link

Organize test suites in `swayfmt` #2494

Open eureka-cpu opened 2 years ago

eureka-cpu commented 2 years ago

Edit: Extending this to re-organizing all tests in swayfmt

eureka-cpu commented 11 months ago

Lower priority but tests that are in swayfmt/tests/mod.rs need to be broken up into their respective item directories if they are only testing individual formatting of items.

JoshuaBatty commented 2 months ago

I'm not sure how much of this is still relevant. A once over cleaning up the test infra for sway-fmt while checking that all types are covered in the test suite is probably a good idea to do still.