tidy up, add docs

This commit is contained in:
Dmitry Fedotov
2025-04-13 22:46:22 +03:00
parent 1465e4cc4c
commit 85452e3dea
10 changed files with 433 additions and 517 deletions

View File

@@ -78,18 +78,18 @@ func Test_stripComment(t *testing.T) {
},
{
name: "comment",
in: "text#some comment",
want: "text",
in: "text#some",
want: "text#some",
},
{
name: "comment",
in: "text #some comment",
want: "text ",
in: "text #some",
want: "text #some",
},
{
name: "comment",
in: " text #some comment",
want: " text ",
in: " text #some ",
want: " text #some ",
},
}