summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/category_test.go
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2017-01-01 15:15:47 +0000
committerrillig <rillig@pkgsrc.org>2017-01-01 15:15:47 +0000
commitebab391e418b3f90bae1e17f5906d6221d08e571 (patch)
tree64a1241dafec2bf309a66f45501b6a582ad017f2 /pkgtools/pkglint/files/category_test.go
parentea9063dc3c6e546486252c0acc97c4bc8f0126d6 (diff)
downloadpkgsrc-ebab391e418b3f90bae1e17f5906d6221d08e571.tar.gz
Cleaned up and refactored code.
The getopt and pkgver code have been extracted to separate packages to make them reusable. Several other functions have been moved to make the structure easier to understand: * dir.go and main.go have been moved to pkglint.go * utility functions from pkglint.go have been moved to mkline.go Now pkglint.go contains only high-level code.
Diffstat (limited to 'pkgtools/pkglint/files/category_test.go')
-rw-r--r--pkgtools/pkglint/files/category_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/category_test.go b/pkgtools/pkglint/files/category_test.go
index 42ab4d853d9..ee5bd700d21 100644
--- a/pkgtools/pkglint/files/category_test.go
+++ b/pkgtools/pkglint/files/category_test.go
@@ -11,7 +11,7 @@ func (s *Suite) Test_CheckdirCategory_totally_broken(c *check.C) {
"# $\n"+
"SUBDIR+=pkg1\n"+
"SUBDIR+=\u0020aaaaa\n"+
- "SUBDIR-=unknown #doesn’t work\n"+
+ "SUBDIR-=unknown #doesn\u2019t work\n"+
"\n"+
".include \"../mk/category.mk\"\n")