mirror of https://github.com/tasks/tasks
Use HttpUrl.parse instead of URI.create
parent
2884b105af
commit
f6afa6823c
@ -0,0 +1,13 @@
|
||||
package org.tasks.caldav;
|
||||
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class CaldavClientTest {
|
||||
@Test
|
||||
public void dontCrashOnSpaceInUrl() {
|
||||
new CaldavClient("https://example.com/remote.php/a space/", "username", "password");
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue