raise exceptions on `expect(..) == ..` syntax