GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Make sure that the width of the header is at least the size of the la… · Thatgfsj-contribs/PowerShell@589e91d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/System.Management.Automation/FormatAndOutput/DefaultFormatters
    • DotNetTypes_format_ps1xml.cs
  • test/powershell/engine/Basic
    • SemanticVersion.Tests.ps1
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/System.Management.Automation/FormatAndOutput/DefaultFormatters/DotNetTypes_format_ps1xml.cs‎

Copy file name to clipboardExpand all lines: src/System.Management.Automation/FormatAndOutput/DefaultFormatters/DotNetTypes_format_ps1xml.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ private static IEnumerable<FormatViewDefinition> ViewsOf_Semantic_Version_With_L
512512
.AddHeader(width: 6)
513513
.AddHeader(width: 6)
514514
.AddHeader(width: 6)
515-
.AddHeader(width: 9)
515+
.AddHeader(width: 15)
516516
.AddHeader(width: 11)
517517
.StartRowDefinition()
518518
.AddPropertyColumn("Major")
Collapse file

‎test/powershell/engine/Basic/SemanticVersion.Tests.ps1‎

Copy file name to clipboardExpand all lines: test/powershell/engine/Basic/SemanticVersion.Tests.ps1
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,10 @@ Describe "SemanticVersion api tests" -Tags 'CI' {
245245
$des.ToString() | Should -Be $expectedResult
246246
}
247247
}
248+
249+
Context "Formatting" {
250+
It "Should not throw when default format-table is used" {
251+
{ $PSVersionTable.PSVersion | Format-Table | Out-String } | Should -Not -Throw
252+
}
253+
}
248254
}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.