Add mimic tests.

This commit is contained in:
Nigel Tao committed 2017-07-02 11:19:23 +10:00
1 parent a58bfc67f1
commit a65e2bacf0
5 files changed
+220 -21

No files matched your search

+3
View File
@@ -107,6 +107,9 @@ func listDir(puffsRoot string, dirname string, returnSubdirs bool) (filenames []
const (
langsDefault = "c"
langsUsage = `comma-separated list of target languages (file extensions), e.g. "c,go,rs"`
mimicDefault = false
mimicUsage = `whether to compare Puffs' output with other libraries' output`
)
func parseLangs(commaSeparated string) ([]string, error) {