mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
Fix fragment bug.
This commit is contained in:
parent
2bc81e8e9a
commit
5cd552458a
@ -4,6 +4,8 @@ import org.junit.jupiter.api.Test;
|
|||||||
|
|
||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
|
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
|
||||||
class EdgeUrlTest {
|
class EdgeUrlTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@ -13,8 +15,10 @@ class EdgeUrlTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testFragment() throws URISyntaxException {
|
public void testFragment() throws URISyntaxException {
|
||||||
var url = new EdgeUrl("https://memex.marginalia.nu/#here");
|
assertEquals(
|
||||||
System.out.println(url.path);
|
new EdgeUrl("https://memex.marginalia.nu/"),
|
||||||
|
new EdgeUrl("https://memex.marginalia.nu/#here")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
@Test
|
@Test
|
||||||
public void testParam() throws URISyntaxException {
|
public void testParam() throws URISyntaxException {
|
||||||
|
Loading…
Reference in New Issue
Block a user