@@ -73,6 +73,15 @@ func TestMisspelledLibraryPropertiesFileName(t *testing.T) {
73
73
checkLibraryCheckFunction (MisspelledLibraryPropertiesFileName , testTables , t )
74
74
}
75
75
76
+ func TestIncorrectLibraryPropertiesFileNameCase (t * testing.T ) {
77
+ testTables := []libraryCheckFunctionTestTable {
78
+ {"Incorrect" , "IncorrectLibraryPropertiesCase" , checkresult .Fail , "" },
79
+ {"Correct" , "Recursive" , checkresult .Pass , "" },
80
+ }
81
+
82
+ checkLibraryCheckFunction (IncorrectLibraryPropertiesFileNameCase , testTables , t )
83
+ }
84
+
76
85
func TestLibraryPropertiesMissing (t * testing.T ) {
77
86
testTables := []libraryCheckFunctionTestTable {
78
87
{"Legacy" , "Legacy" , checkresult .Fail , "" },
@@ -302,6 +311,16 @@ func TestMisspelledExamplesFolderName(t *testing.T) {
302
311
checkLibraryCheckFunction (MisspelledExamplesFolderName , testTables , t )
303
312
}
304
313
314
+ func TestIncorrectExamplesFolderNameCase (t * testing.T ) {
315
+ testTables := []libraryCheckFunctionTestTable {
316
+ {"Correct case" , "ExamplesFolder" , checkresult .Pass , "" },
317
+ {"Incorrect case" , "IncorrectExamplesFolderCase" , checkresult .Fail , "" },
318
+ {"No examples folder" , "Recursive" , checkresult .Pass , "" },
319
+ }
320
+
321
+ checkLibraryCheckFunction (IncorrectExamplesFolderNameCase , testTables , t )
322
+ }
323
+
305
324
func TestMisspelledExtrasFolderName (t * testing.T ) {
306
325
testTables := []libraryCheckFunctionTestTable {
307
326
{"Correctly spelled" , "ExtrasFolder" , checkresult .Pass , "" },
@@ -311,3 +330,13 @@ func TestMisspelledExtrasFolderName(t *testing.T) {
311
330
312
331
checkLibraryCheckFunction (MisspelledExtrasFolderName , testTables , t )
313
332
}
333
+
334
+ func TestIncorrectExtrasFolderNameCase (t * testing.T ) {
335
+ testTables := []libraryCheckFunctionTestTable {
336
+ {"Correct case" , "ExtrasFolder" , checkresult .Pass , "" },
337
+ {"Incorrect case" , "IncorrectExtrasFolderCase" , checkresult .Fail , "" },
338
+ {"No extras folder" , "Recursive" , checkresult .Pass , "" },
339
+ }
340
+
341
+ checkLibraryCheckFunction (IncorrectExtrasFolderNameCase , testTables , t )
342
+ }
0 commit comments