lib/core: fix nitunit that should have failed earlier because of bad ==