Commit 77c690fe authored by Nick Craver's avatar Nick Craver

Fix Moq tests (normalizing line endings as well)

parent 140d741a
...@@ -34,14 +34,14 @@ public void AddCondition_HashNotEqual() ...@@ -34,14 +34,14 @@ public void AddCondition_HashNotEqual()
public void AddCondition_HashExists() public void AddCondition_HashExists()
{ {
wrapper.AddCondition(Condition.HashExists("key", "field")); wrapper.AddCondition(Condition.HashExists("key", "field"));
mock.Verify(_ => _.AddCondition(It.Is<Condition>(value => "prefix:key > field exists" == value.ToString()))); mock.Verify(_ => _.AddCondition(It.Is<Condition>(value => "prefix:key Hash > field exists" == value.ToString())));
} }
[Fact] [Fact]
public void AddCondition_HashNotExists() public void AddCondition_HashNotExists()
{ {
wrapper.AddCondition(Condition.HashNotExists("key", "field")); wrapper.AddCondition(Condition.HashNotExists("key", "field"));
mock.Verify(_ => _.AddCondition(It.Is<Condition>(value => "prefix:key > field does not exists" == value.ToString()))); mock.Verify(_ => _.AddCondition(It.Is<Condition>(value => "prefix:key Hash > field does not exists" == value.ToString())));
} }
[Fact] [Fact]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment