(s, substr string)
| 696 | } |
| 697 | |
| 698 | func stringContains(s, substr string) bool { |
| 699 | for i := 0; i <= len(s)-len(substr); i++ { |
| 700 | if s[i:i+len(substr)] == substr { |
| 701 | return true |
| 702 | } |
| 703 | } |
| 704 | return false |
| 705 | } |
| 706 | |
| 707 | // Verify that dropbox config can be constructed without panicking |
| 708 | func TestDropboxConfigConstruction(t *testing.T) { |
no outgoing calls
no test coverage detected