We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b24b0b5 commit 80547daCopy full SHA for 80547da
1 file changed
test/ConstrainedLanguageMode.Tests.ps1
@@ -0,0 +1,10 @@
1
+# Copyright (c) Microsoft Corporation.
2
+# Licensed under the MIT License.
3
+
4
+# In future, we will add more tests to be executed in Constrained Language Mode.
5
+Describe "Test UserAgentInfo" {
6
+ It "GetUserString returns a non-null, non-empty string" {
7
+ $userAgentString = [Microsoft.PowerShell.PSResourceGet.InternalHooks]::GetUserString()
8
+ $userAgentString | Should -Not -BeNullOrEmpty
9
+ }
10
+}
0 commit comments