打开-ea开关是为了断言时候用的,下面介绍断言:

idea中打开-ea开关

idea中开启-ea: 

Run > Edit Configurations>选中当前类 > Configuration > VM options

idea中打开-ea开关

运行结果:

idea中打开-ea开关

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2021-11-18
  • 2021-10-28
  • 2021-10-28
猜你喜欢
  • 2021-12-26
  • 2021-09-13
  • 2022-01-09
  • 2022-12-23
  • 2021-12-05
  • 2021-12-25
  • 2021-11-28
相关资源
相似解决方案