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

Docs: 修复单元测试示例代码 #2741

Merged
merged 1 commit into from
May 30, 2024
Merged

Conversation

mobyw
Copy link
Member

@mobyw mobyw commented May 29, 2024

修复使用 console 适配器的单元测试示例代码中的 User 参数

class User:
    """用户"""

    id: str
    avatar: str = field(default="👤")
    nickname: str = field(default="User")

相关 PR:nonebot/adapter-console#34

@mobyw mobyw changed the title 📝 Docs: 修复插件测试示例代码 📝 Docs: 修复文档中的单元测试示例代码 May 29, 2024
@mobyw mobyw changed the title 📝 Docs: 修复文档中的单元测试示例代码 📝 Docs: 修复单元测试示例代码 May 29, 2024
Copy link
Contributor

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

@github-actions github-actions bot temporarily deployed to pull request May 29, 2024 11:27 Inactive
@yanyongyu yanyongyu added the documentation Improvements or additions to documentation label May 29, 2024
@yanyongyu yanyongyu changed the title 📝 Docs: 修复单元测试示例代码 Docs: 修复单元测试示例代码 May 30, 2024
@yanyongyu yanyongyu merged commit 38e4291 into nonebot:master May 30, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

Successfully merging this pull request may close these issues.

2 participants