misc. minor cleanup

* moved $/testfilter.sh to $/util/testfilter.sh (updated Makefile accordingly)
* updated idea in Design.md
* renamed TestParse/TestFetch to TestSimpleParse/TestSimpleFetch.. more tests coming
* parse now sorts its results. test updated.
* moved regexp compilation to init instead of every time parse() is called
* misc comments and cleanup
This commit is contained in:
swaits committed 2015-02-15 00:40:36 -08:00
1 parent d716fbc6f8
commit 38224a8987
6 files changed
+20 -12

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# colorize the output of "go test"
sed ''/ok/s//$(printf "\033[32;1m&\033[0m")/'' | \
sed ''/PASS/s//$(printf "\033[32;1m&\033[0m")/'' | \
sed ''/FAIL/s//$(printf "\033[31;1m&\033[0m")/''