Rustのassert_eq!で想定した値と実際の値の順番はどっちが好み?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://misskey.io/notes/acso0jo285u806aw on your instance and quote it. (Note that quoting is not supported in Mastodon.)

JUnitから受け継がれる伝統によれば、expected, actualの順序が正しい。しかし最近ではactual, expectedの順で書く場合も多いよう。

1