mirror of https://github.com/lidarr/Lidarr
Fix test
This commit is contained in:
parent
5668cbfb53
commit
e1a62af586
|
@ -29,12 +29,11 @@ namespace NzbDrone.Core.Test.Datastore.Converters
|
||||||
Subject.SetValue(_param, items);
|
Subject.SetValue(_param, items);
|
||||||
|
|
||||||
var result = (string)_param.Value;
|
var result = (string)_param.Value;
|
||||||
result.Should().Be(@"[
|
|
||||||
{
|
// Otherwise we run into grief compiling on windows and running on linux
|
||||||
""key"": ""word"",
|
result = result.Replace("\r", "").Replace("\n", "").Replace(" ", "");
|
||||||
""value"": 1
|
|
||||||
}
|
result.Should().Be(@"[{""key"":""word"",""value"":1}]");
|
||||||
]");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase(@"[{""key"": ""deluxe"", ""value"": 10 }]")]
|
[TestCase(@"[{""key"": ""deluxe"", ""value"": 10 }]")]
|
||||||
|
|
Loading…
Reference in New Issue