pe_test.go | 20 ++++++++++++++++++++ diff --git a/pe_test.go b/pe_test.go index dde9cf85de6df6f8275ed7dca7f3b895521ec6a1..677161c4f6f6b322d0a574dde7eef37888631276 100644 --- a/pe_test.go +++ b/pe_test.go @@ -8,6 +8,26 @@ if output[0] != "alt/generateStore.php" { t.Errorf("Doesnt match files", output) } + output = GetAllMatches("2.0G", "") + if len(output) != 0 { + t.Errorf("File size matches", output) + } + + output = GetAllMatches("4.0K", "") + if len(output) != 0 { + t.Errorf("File size matches", output) + } + + output = GetAllMatches("72K", "") + if len(output) != 0 { + t.Errorf("File size matches", output) + } + + output = GetAllMatches("remotes/origin/master", "") + if len(output) != 0 { + t.Errorf("Git branch matches", output) + } + output = GetAllMatches("I have a cat.", "") if len(output) != 0 { t.Errorf("Matches sentence", output)