Skip to content

refactor bad assert.Equal #1420

@yp969803

Description

@yp969803

What happened:
it should be:
assert.Equal(t, expected, actual)

but in some cases we use:
assert.Equal(t, actual, expected) which is wrong, correct these assert.Equal

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kmesh version:
  • Kmesh mode(kmesh has Kernel-Native Mode and Duel-Engine Mode):
  • Istio version:
  • Kernel version:
  • Others:

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions