Skip to content

Commit ec32847

Browse files
committed
use expression body
1 parent c4588c0 commit ec32847

File tree

1 file changed

+1
-3
lines changed
  • src/Smdn.Test.NUnit.Utils/Smdn.Test.NUnit

1 file changed

+1
-3
lines changed

src/Smdn.Test.NUnit.Utils/Smdn.Test.NUnit/IOUtils.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ public static void UsingCurrentDirectory(string path, Action action)
2424
}
2525

2626
public static void UsingDirectory(string path, Action action)
27-
{
28-
UsingDirectory(path, false, action);
29-
}
27+
=> UsingDirectory(path, ensureDirectoryCreated: false, action);
3028

3129
public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action action)
3230
{

0 commit comments

Comments
 (0)