(moreFiles ...string)
| 1052 | } |
| 1053 | |
| 1054 | func cleanup(moreFiles ...string) { |
| 1055 | os.RemoveAll("chocolate.txt") |
| 1056 | os.RemoveAll("vanilla.txt") |
| 1057 | os.RemoveAll("cherry.txt") |
| 1058 | os.RemoveAll("apple.txt") |
| 1059 | os.RemoveAll("peach.txt") |
| 1060 | os.RemoveAll("banana.txt") |
| 1061 | os.RemoveAll("pear.txt") |
| 1062 | os.RemoveAll("tomato.txt") |
| 1063 | os.RemoveAll("unnamed.txt") |
| 1064 | os.RemoveAll("roses.txt") |
| 1065 | os.RemoveAll("fuchsias.txt") |
| 1066 | os.RemoveAll("lilas.txt") |
| 1067 | os.RemoveAll("campanules.txt") |
| 1068 | os.RemoveAll("ducky.txt") |
| 1069 | os.RemoveAll("banana.txt") |
| 1070 | for _, file := range moreFiles { |
| 1071 | os.RemoveAll(file) |
| 1072 | } |
| 1073 | } |
| 1074 | |
| 1075 | func TestBuildCommand_ParseArgs(t *testing.T) { |
| 1076 | defaultMeta := TestMetaFile(t) |
no outgoing calls
no test coverage detected
searching dependent graphs…