The expectation is inverted here. The expected value should be in the left, and the value you want to check in the right. see https://github.com/seattlerb/minitest/blob/master/lib/minitest/assertions.rb#L159

(I think the rest of the file is wrong too, so you can open other PR to fix this)