浏览代码

Fixed error

Tig 1 年之前
父节点
当前提交
f9fc33ff54
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UnitTests/TestHelpers.cs

+ 1 - 1
UnitTests/TestHelpers.cs

@@ -280,7 +280,7 @@ internal partial class TestHelpers
     )
     {
 #pragma warning restore xUnit1013 // Public method should be marked as test
-        var actualLook = Application.ToString (driver);
+        var actualLook = Application.ToString (driver ?? Application.Driver);
 
         if (string.Equals (expectedLook, actualLook))
         {