yansongda / pay

可能是我用过的最优雅的 Alipay/WeChat/Unipay/江苏银行 的支付 SDK 扩展包了
http://pay.yansongda.cn
MIT License
4.98k stars 1.02k forks source link

optimize: 使用 is_file 代替字符串结尾判断 #982

Closed NotMings closed 2 months ago

netlify[bot] commented 2 months ago

Deploy Preview for pay-yansongda canceled.

Name Link
Latest commit a8011650ca8adc177d3be0422d84ecc714039f19
Latest deploy log https://app.netlify.com/sites/pay-yansongda/deploys/664609717e64cd0008a03c2b
yansongda commented 2 months ago

帮忙加下单元测试

NotMings commented 2 months ago

帮忙加下单元测试

不需要单元测试吧。并没有添加新的功能

yansongda commented 2 months ago

OK,看到了

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.50%. Comparing base (747806e) to head (a801165).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #982 +/- ## ========================================= Coverage 97.50% 97.50% Complexity 907 907 ========================================= Files 347 347 Lines 6201 6201 ========================================= Hits 6046 6046 Misses 155 155 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.