Test - Minor cleanup

This commit is contained in:
Alex Maitland
2021-07-05 11:16:25 +10:00
parent 102f70d30b
commit 4a20b19e6b
3 changed files with 33 additions and 23 deletions
@@ -40,7 +40,7 @@ namespace CefSharp.Test.JavascriptBinding
Assert.True(javascriptObjectRepository.IsBound(name));
var boundObjects = javascriptObjectRepository.GetObjects(new List<string> { name });
Assert.Equal(1, boundObjects.Count);
Assert.Single(boundObjects);
var result = javascriptObjectRepository.TryCallMethod(boundObjects[0].Id, "getExampleString", new object[0]);
Assert.True(result.Success);