diff --git a/src/skUnit/Scenarios/Parsers/Assertions/ContainsAssertion.cs b/src/skUnit/Scenarios/Parsers/Assertions/ContainsAllAssertion.cs similarity index 100% rename from src/skUnit/Scenarios/Parsers/Assertions/ContainsAssertion.cs rename to src/skUnit/Scenarios/Parsers/Assertions/ContainsAllAssertion.cs diff --git a/src/skUnit/Scenarios/Parsers/KernelAssertionParser.cs b/src/skUnit/Scenarios/Parsers/KernelAssertionParser.cs index 2fff77b..1ea2954 100644 --- a/src/skUnit/Scenarios/Parsers/KernelAssertionParser.cs +++ b/src/skUnit/Scenarios/Parsers/KernelAssertionParser.cs @@ -15,7 +15,7 @@ public static IKernelAssertion Parse(string text, string type) { "condition" => new HasConditionAssertion() { Condition = text }, "similar" => new AreSameAssertion() { ExpectedAnswer = text }, - "contains" => new ContainsAllAssertion() { Texts = text.Split(',') }, + "contains" => new ContainsAllAssertion() { Texts = text.Split(',', '،') }, "containsall" => new ContainsAllAssertion() { Texts = text.Split(',', '،') }, "containsany" => new ContainsAnyAssertion() { Texts = text.Split(',', '،') }, _ => throw new InvalidOperationException($"Not valid assert type: {type}")