mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update copyright and license headers (#6134)
Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files. Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks. Separate PR coming to update contribution document for new source files: #6140 Manually reviewed each change. Fix #6073
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Describe "Tests for hashtable to PSCustomObject conversion" -Tags "CI" {
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
Describe "Tests for hashtable to PSCustomObject conversion" -Tags "CI" {
|
||||
BeforeAll {
|
||||
class SampleClass5 {
|
||||
[int]$a
|
||||
@@ -113,7 +115,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
It 'Creating an object of an existing type from hashtable should succeed' {
|
||||
$result = [System.Management.Automation.Host.Coordinates]@{X=10;Y=33}
|
||||
$result.X | should be 10
|
||||
|
||||
Reference in New Issue
Block a user