Avoid writing code that tests for specific error messages, since messages can change between versions of the class that originally produced them.

  • 避免编写用于测试特定错误信息的代码,因为错误信息在最初产生它们的类的不同版本之间可能有所不同。
目录 查词历史