PowerShell/test/csharp/test_Binders.cs
Dongbo Wang 658960e3f9 Move group policy settings and enable policy controlled logging in PowerShell Core (#5791)
Make PowerShell Core reads group policy settings from different registry keys (Windows only) and the configuration files (both Windows and Unix).
- On Windows, move to different GPO registry keys.
- On both Windows and Unix, read GPO related settings from the configuration file `powershell.config.json`.
- On Windows, the policy settings in registry take precedence over the configuration file.
- Enable policy controlled logging and transcription on Unix.
2018-01-08 18:09:00 -08:00

17 lines
401 B
C#

using Xunit;
using System;
using System.Management.Automation.Language;
namespace PSTests.Parallel
{
public static class PSEnumerableBinderTests
{
[Fact]
public static void TestIsStaticTypePossiblyEnumerable()
{
// It just needs an arbitrary type
Assert.False(PSEnumerableBinder.IsStaticTypePossiblyEnumerable(42.GetType()));
}
}
}