diff --git a/status_test.go b/constants_test.go similarity index 57% rename from status_test.go rename to constants_test.go index 8dead00..1f199d3 100644 --- a/status_test.go +++ b/constants_test.go @@ -10,3 +10,9 @@ func TestStatusText(t *testing.T) { assert.Equal(t, "Unknown status code: 0", StatusText(0)) assert.Equal(t, "Invalid username or password.", StatusText(StatusInvalidCredentials)) } + +func TestEntryTypeString(t *testing.T) { + assert.Equal(t, "file", EntryTypeFile.String()) + assert.Equal(t, "folder", EntryTypeFolder.String()) + assert.Equal(t, "link", EntryTypeLink.String()) +}