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 comment in import#337 #340

Merged
merged 4 commits into from
Aug 18, 2024
Merged

fix comment in import#337 #340

merged 4 commits into from
Aug 18, 2024

Conversation

jackie-coming
Copy link
Contributor

修复首行注释解析问题

@CLAassistant
Copy link

CLAassistant commented Aug 12, 2024

CLA assistant check
All committers have signed the CLA.

@jackie-coming
Copy link
Contributor Author

修复首行注释解析问题

#337

ExpressRunner runner = new ExpressRunner(false, true);
DefaultContext<String, Object> context = new DefaultContext<>();
Object result = runner.execute(express, context, null, false, true);
TestCase.assertEquals("successful", result);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

junit4 一般习惯用 Assert.assertEquals

TestCase 在 junit3 中用的多一些, 本项目主要使用 junit4

@DQinYuan
Copy link
Collaborator

DQinYuan commented Aug 14, 2024

image

有个单测在本地执行 mvn test 的时候不通过, 试一下, 如果你那面也不通过, 顺便也修下吧

@jackie-coming
Copy link
Contributor Author

image

有个单测在本地执行 mvn test 的时候不通过, 试一下, 如果你那面也不通过, 顺便也修下吧

是有问题,我看下

@jackie-coming
Copy link
Contributor Author

jackie-coming commented Aug 15, 2024

image

有个单测在本地执行 mvn test 的时候不通过, 试一下, 如果你那面也不通过, 顺便也修下吧

试了最新的v3.3.3 代码,也有这个问题,同时只有在maven test的时候才会复现,我新开个issue跟一下这个问题吧。
image

@DQinYuan
Copy link
Collaborator

@jackie-coming 这个问题在 master 应该也存在很久了, 看起来像是测试框架引发的问题, 导致反射取不到字段

Copy link
Collaborator

@DQinYuan DQinYuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DQinYuan
Copy link
Collaborator

@jackie-coming 记得再开个 issue 跟这个问题,我先合并了

@DQinYuan DQinYuan merged commit 2339370 into alibaba:master Aug 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants