mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Test - Minor cleanup
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user