Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: 修复MessageTemplate在没有格式化说明符时行为不正确的问题 #947

Merged
merged 2 commits into from
Apr 30, 2022

Conversation

mnixry
Copy link
Member

@mnixry mnixry commented Apr 29, 2022

Fixes #938

@mnixry mnixry added the bug Something isn't working label Apr 29, 2022
@mnixry mnixry requested a review from yanyongyu April 29, 2022 09:18
@mnixry mnixry self-assigned this Apr 29, 2022
@codecov
Copy link

codecov bot commented Apr 29, 2022

Codecov Report

Merging #947 (d355873) into master (f028575) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #947      +/-   ##
==========================================
+ Coverage   77.14%   77.29%   +0.14%     
==========================================
  Files          42       42              
  Lines        3098     3096       -2     
==========================================
+ Hits         2390     2393       +3     
+ Misses        708      703       -5     
Flag Coverage Δ
unittests 77.29% <100.00%> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
nonebot/internal/adapter/template.py 88.60% <100.00%> (+5.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f028575...d355873. Read the comment docs.

@github-actions
Copy link
Contributor

🚀 Deployed on https://deploy-preview-947--nonebot2.netlify.app

@github-actions github-actions bot temporarily deployed to pull request April 29, 2022 09:22 Inactive
@mnixry mnixry merged commit 95331bb into master Apr 30, 2022
@mnixry mnixry deleted the mnixry/issue938 branch April 30, 2022 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

Bug: MessageTemplate.format 将消息段错误拼接为文本
2 participants