This commit is contained in:
ta264 2020-08-20 23:01:46 +01:00 committed by Qstick
parent 5668cbfb53
commit e1a62af586
1 changed files with 5 additions and 6 deletions

View File

@ -29,12 +29,11 @@ namespace NzbDrone.Core.Test.Datastore.Converters
Subject.SetValue(_param, items);
var result = (string)_param.Value;
result.Should().Be(@"[
{
""key"": ""word"",
""value"": 1
}
]");
// Otherwise we run into grief compiling on windows and running on linux
result = result.Replace("\r", "").Replace("\n", "").Replace(" ", "");
result.Should().Be(@"[{""key"":""word"",""value"":1}]");
}
[TestCase(@"[{""key"": ""deluxe"", ""value"": 10 }]")]