Skip to content

Conversation

@PrzemyslawKlys
Copy link
Member

Summary

  • validate optional text property arrays in New-OfficeWordText before calling service
  • add length checks to WordDocumentService.AddText
  • add negative tests for mismatched text array lengths

Testing

  • dotnet build Sources/PSWriteOffice/PSWriteOffice.csproj -c Release
  • pwsh -NoLogo -File PSWriteOffice.Tests.ps1 (fails: required modules PSSharedGoods, Pester, PSParseHTML not available)

https://chatgpt.com/codex/tasks/task_e_689786f46124832eaba37bbf9e7a5499

@PrzemyslawKlys PrzemyslawKlys merged commit ee0db07 into master Aug 9, 2025
3 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the validate-text-length-in-word-commands branch August 9, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants