mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-17 13:03:17 +00:00
add more test cases
This commit is contained in:
@@ -46,7 +46,9 @@ func TestParseEntryMode(t *testing.T) {
|
||||
{"160755", EntryModeCommit},
|
||||
|
||||
{"040000", EntryModeTree},
|
||||
{"40000", EntryModeTree},
|
||||
{"040755", EntryModeTree},
|
||||
{"40755", EntryModeTree},
|
||||
|
||||
{"777777", EntryModeNoEntry}, // invalid mode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user