-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
|
src/test/java/com/ql/util/express/issue/Issue337CommentInImportTest.java
Outdated
Show resolved
Hide resolved
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); |
There was a problem hiding this comment.
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
src/test/java/com/ql/util/express/issue/Issue337CommentInImportTest.java
Show resolved
Hide resolved
@jackie-coming 这个问题在 master 应该也存在很久了, 看起来像是测试框架引发的问题, 导致反射取不到字段 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jackie-coming 记得再开个 issue 跟这个问题,我先合并了 |
修复首行注释解析问题