Use explicit equal for Gecko

Gecko's test harness does not support calling `assert` directly.