[PR #1108] [CLOSED] Formatter tests #889

Closed
opened 2025-12-30 01:27:35 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/1108
Author: @srueg
Created: 6/24/2025
Status: Closed

Base: formatterHead: formatter-tests


📝 Commits (4)

  • 728ace9 if-else with comment line interleaved
  • c09335d doc-comment interleaved with regular comment
  • c9adedd weird indenting on for-generator
  • 3a720cf split member at type definition

📊 Changes

8 files changed (+65 additions, -0 deletions)

View changed files

pkl-formatter/src/test/files/FormatterSnippetTests/input/comment-interleaved.pkl (+7 -0)
pkl-formatter/src/test/files/FormatterSnippetTests/input/dangling-doccomment.pkl (+8 -0)
pkl-formatter/src/test/files/FormatterSnippetTests/input/for-amend.pkl (+14 -0)
📝 pkl-formatter/src/test/files/FormatterSnippetTests/input/line-breaks2.pkl (+2 -0)
pkl-formatter/src/test/files/FormatterSnippetTests/output/comment-interleaved.pkl (+6 -0)
pkl-formatter/src/test/files/FormatterSnippetTests/output/dangling-doccomment.pkl (+8 -0)
pkl-formatter/src/test/files/FormatterSnippetTests/output/for-amend.pkl (+14 -0)
📝 pkl-formatter/src/test/files/FormatterSnippetTests/output/line-breaks2.pkl (+6 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/apple/pkl/pull/1108 **Author:** [@srueg](https://github.com/srueg) **Created:** 6/24/2025 **Status:** ❌ Closed **Base:** `formatter` ← **Head:** `formatter-tests` --- ### 📝 Commits (4) - [`728ace9`](https://github.com/apple/pkl/commit/728ace9b2ad275b6603da12fdef12ef579213530) if-else with comment line interleaved - [`c09335d`](https://github.com/apple/pkl/commit/c09335d0d4aee1faaffb5e9b9724a93bd5c8ace6) doc-comment interleaved with regular comment - [`c9adedd`](https://github.com/apple/pkl/commit/c9adedd3d1c33542919e5d0e4c4b8658342f0643) weird indenting on for-generator - [`3a720cf`](https://github.com/apple/pkl/commit/3a720cfa3cf233b1e36714209f51c7ee5c085b6d) split member at type definition ### 📊 Changes **8 files changed** (+65 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `pkl-formatter/src/test/files/FormatterSnippetTests/input/comment-interleaved.pkl` (+7 -0) ➕ `pkl-formatter/src/test/files/FormatterSnippetTests/input/dangling-doccomment.pkl` (+8 -0) ➕ `pkl-formatter/src/test/files/FormatterSnippetTests/input/for-amend.pkl` (+14 -0) 📝 `pkl-formatter/src/test/files/FormatterSnippetTests/input/line-breaks2.pkl` (+2 -0) ➕ `pkl-formatter/src/test/files/FormatterSnippetTests/output/comment-interleaved.pkl` (+6 -0) ➕ `pkl-formatter/src/test/files/FormatterSnippetTests/output/dangling-doccomment.pkl` (+8 -0) ➕ `pkl-formatter/src/test/files/FormatterSnippetTests/output/for-amend.pkl` (+14 -0) 📝 `pkl-formatter/src/test/files/FormatterSnippetTests/output/line-breaks2.pkl` (+6 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:27:35 +01:00
adam closed this issue 2025-12-30 01:27:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#889