learnrxjava icon indicating copy to clipboard operation
learnrxjava copied to clipboard

Some asserts in tests have expected, actual parameters reversed

Open eis opened this issue 8 years ago • 0 comments

From ObservableSolutionsTest:

assertEquals(map.get(70111470).toString(),
   "{boxart=http://cdn-0.nflximg.com/images/2891/DieHard150.jpg, id=70111470, title=Die Hard}");

it should be assertEquals(expected, actual), not the other way around.

eis avatar Mar 15 '16 20:03 eis