diff --git a/core/src/main/java/com/scottlogic/datahelix/generator/core/profile/constraints/atomic/NotEqualToConstraint.java b/core/src/main/java/com/scottlogic/datahelix/generator/core/profile/constraints/atomic/NotEqualToConstraint.java index 90c39a3a2..da1b54185 100644 --- a/core/src/main/java/com/scottlogic/datahelix/generator/core/profile/constraints/atomic/NotEqualToConstraint.java +++ b/core/src/main/java/com/scottlogic/datahelix/generator/core/profile/constraints/atomic/NotEqualToConstraint.java @@ -48,7 +48,7 @@ public FieldSpec toFieldSpec() { @Override public String toString(){ - return String.format("`%s` = %s", field.getName(), value); + return String.format("`%s` != %s", field.getName(), value); } @Override