Skip to content

Commit

Permalink
#1883 fix typo in DescriptionMapLikeProof
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Dec 27, 2024
1 parent e1e177f commit 9ec5ba0
Showing 1 changed file with 45 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,78 @@ import ch.tutteli.atrium.reporting.translating.StringBasedTranslatable
/**
* Contains the [DescriptiveAssertion.description]s of the assertion functions which are applicable to [Map].
*/
@Deprecated(
"Switch to DescriptionMapLikeProof from core, will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof")
)
enum class DescriptionMapLikeExpectation(override val value: String) : StringBasedTranslatable {
@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.TO_CONTAIN")
)
/** @since 0.18.0 */
TO_CONTAIN("to contain"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.TO_CONTAIN_KEY")
)
/** @since 0.18.0 */
TO_CONTAIN_KEY("to contain key"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.NOT_TO_CONTAIN_KEY")
)
/** @since 0.18.0 */
NOT_TO_CONTAIN_KEY("not to ontain key"),
NOT_TO_CONTAIN_KEY("not to contain key"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.ENTRY_WITH_KEY")
)
/** @since 0.18.0 */
ENTRY_WITH_KEY("entry %s"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.IN_ANY_ORDER")
)
/** @since 0.18.0 */
IN_ANY_ORDER("%s, in any order"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.IN_ANY_ORDER_ONLY")
)
/** @since 0.18.0 */
IN_ANY_ORDER_ONLY("%s only, in any order"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.IN_ORDER")
)
/** @since 0.18.0 */
IN_ORDER("%, in order"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.IN_ORDER_ONLY")
)
/** @since 0.18.0 */
IN_ORDER_ONLY("%s only, in order"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.KEY_DOES_NOT_EXIST")
)
/** @since 0.18.0 */
KEY_DOES_NOT_EXIST("❗❗ key does not exist"),

@Deprecated(
"will be removed with 2.0.0 at the latest",
ReplaceWith("ch.tutteli.atrium.reporting.reportables.descriptions.DescriptionMapLikeProof.WARNING_ADDITIONAL_ENTRIES")
)
/** @since 0.18.0 */
WARNING_ADDITIONAL_ENTRIES("additional entries detected"),
}

0 comments on commit 9ec5ba0

Please sign in to comment.