Skip to content

Conversation

@Tinyblargon
Copy link
Collaborator

Adds tests for #529

@Tinyblargon Tinyblargon requested a review from Copilot December 16, 2025 22:19
@Tinyblargon Tinyblargon added modifies/go Pull requests that update Go code size/S Denotes a PR that changes 10-29 lines, ignoring generated files type/testing test/done This PR has been tested and the result was succesfull labels Dec 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds test coverage for a Proxmox API bug fix related to Qemu VM tags. In some versions of Proxmox, the API returns a space character (" ") instead of an empty string when a VM has no tags, which needed special handling.

  • Adds three test cases to validate tag parsing behavior
  • Tests cover the bug scenario (space character), empty string, and normal tag parsing
  • Verifies the fix implemented in the mapToSDK method that trims whitespace

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Tinyblargon Tinyblargon merged commit 898857d into Telmate:master Dec 16, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modifies/go Pull requests that update Go code size/S Denotes a PR that changes 10-29 lines, ignoring generated files test/done This PR has been tested and the result was succesfull type/testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant