dubbo Replace instanceof with Matchers#instanceOf in test cases

v8wbuo2f  于 5个月前  发布在  其他
关注(0)|答案(4)|浏览(42)
  • I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 3.2
  • Operating System version: ALL
  • Java version: xxx

Steps to reproduce this issue

In some test cases use instanceof, for example ExtensionTest class

we can replace with Matchers#instanceOf

Expected Behavior

MatcherAssert.assertThat(myfactory, Matchers.instanceOf(ExtensionInjector.class));

Actual Behavior

wsxa1bj1

wsxa1bj11#

Would you pls submit a PR to enhance?

hgc7kmma

hgc7kmma2#

@AlbumenJ I will submit a pr to do this later

sbtkgmzw

sbtkgmzw3#

hi @AlbumenJ@mxsm still working on this? I'd like to work on it

ssgvzors

ssgvzors4#

hi @AlbumenJ@mxsm still working on this? I'd like to work on it

I'm working on this.

相关问题