mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Typically it's fine to test serialization behaviorally. If we can deserialize the serialized state correctly, then we're generally happy. We don't need explicit tests on the serialized state… but I added a couple assertions to ensure we don't write text when we don't need to. It would have been more correct to just modify the saved file and verify we load the new state, but it's not worth the hassle.