Skip to content

Commit 3ecd235

Browse files
committed
feat: check dir not file
1 parent 7a710fa commit 3ecd235

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

OasysGHTests/Helpers/ResolverTest.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
using Rhino.Runtime;
77
using Microsoft.Win32;
88
using System.Globalization;
9+
using Xunit.Abstractions;
910

1011
namespace OasysGHTests.Helpers {
1112
public class ResolverTest {
13+
1214
[Fact]
1315
public void ShouldReturnAValidPath() {
1416
RhinoResolver.RhinoMajorVersion = -1;
1517
string directory = RhinoResolver.FindRhinoSystemDirectory();
16-
Assert.True(File.Exists(directory));
18+
Assert.True(Directory.Exists(directory));
1719
}
1820

1921
[Fact]

0 commit comments

Comments
 (0)