Commit c418235
txtar: add UTF-8 test case in TestParse
Adds a new test case for the txtar package to verify that:
Parse correctly handles UTF-8 characters in file contents.
Leading comment lines are preserved properly.
This improves test coverage for non-ASCII content and ensures
comment parsing works as expected.
Change-Id: I3eff5e09f6c3c588ca817c36178c9a7bafaa4ea7
GitHub-Last-Rev: 920f684
GitHub-Pull-Request: #600
Reviewed-on: https://go-review.googlesource.com/c/tools/+/712980
Reviewed-by: Michael Matloob <matloob@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>1 parent a54c8a4 commit c418235
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
55 | 71 | | |
56 | 72 | | |
57 | 73 | | |
| |||
0 commit comments