当前位置:网站首页>[Spock] process non ASCII characters in an identifier

[Spock] process non ASCII characters in an identifier

2022-06-28 16:02:00 Ch.yang

Preface

Use idea use spock Write test case times Non-ASCII characters in an identifier Warning . There are not many online materials , Now record . Writing test cases in Chinese means to know the meaning of the name , Don't repeat notes .

operation

  • Before the change
     Insert picture description here
  • modify
     Insert picture description here
  • After modification
     Insert picture description here

Postscript

Dynamic languages such as python and grovvy They all accept Chinese naming in varying degrees . Specific benefits :
 Insert picture description here

  • Of course, if you have verified the hidden danger, you need to check the log , Look at the official documents to summarize .
     Insert picture description here
原网站

版权声明
本文为[Ch.yang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/179/202206281533063918.html