@@ -105,18 +105,6 @@ func Test_obscure_functionality(t *testing.T) {
105
105
}
106
106
}
107
107
108
- func Test_file_type (t * testing.T ) {
109
- fictionalFile := "HopefullyThereIsNotAFileCalledThisNearBy.txt"
110
- dataDir := "../data"
111
- sourceFile := "../data/helloworld.c"
112
- objectFile := "../data/bhello.notanextensionthatwerecognize"
113
- exeFile := "../data/bhello"
114
-
115
- BinaryFile (t , fictionalFile , dataDir , sourceFile , objectFile , exeFile )
116
- PlainFile (t , fictionalFile , dataDir , sourceFile , objectFile , exeFile )
117
-
118
- }
119
-
120
108
func BinaryFile (t * testing.T , fictionalFile string , dataDir string , sourceFile string , objectFile string , exeFile string ) {
121
109
var binaryFileType shared.BinaryType
122
110
binaryFileType = shared .GetBinaryType (fictionalFile )
@@ -195,3 +183,16 @@ func PlainFile(t *testing.T, fictionalFile string, dataDir string, sourceFile st
195
183
fmt .Printf ("shared.IsPlainFile(%v) returned %v\n " , exeFile , plain )
196
184
}
197
185
}
186
+
187
+ func Test_file_type (t * testing.T ) {
188
+ fictionalFile := "HopefullyThereIsNotAFileCalledThisNearBy.txt"
189
+ dataDir := "../data"
190
+ sourceFile := "../data/helloworld.c"
191
+ objectFile := "../data/bhello.notanextensionthatwerecognize"
192
+ exeFile := "../data/bhello"
193
+
194
+ BinaryFile (t , fictionalFile , dataDir , sourceFile , objectFile , exeFile )
195
+ PlainFile (t , fictionalFile , dataDir , sourceFile , objectFile , exeFile )
196
+
197
+ }
198
+
0 commit comments