# `Dialyxir.Warnings.ExactCompare`
[🔗](https://github.com/jeremyjh/dialyxir/blob/1.4.8/lib/dialyxir/warnings/exact_compare.ex#L1)

The test can never evaluate to the expected value.

This is a comparison where the result is determined at compile time:
either the compared terms can never be equal (for `==` / `=:=`), or
they can never be different (for `/=` / `=/=`).

## Example

    defmodule Example do
      def ok() do
        :ok == :error
      end
    end

---

*Consult [api-reference.md](api-reference.md) for complete listing*
