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 static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
class EdgeUrlTest {
|
||||
|
||||
@Test
|
||||
@ -13,8 +15,10 @@ class EdgeUrlTest {
|
||||
|
||||
@Test
|
||||
public void testFragment() throws URISyntaxException {
|
||||
var url = new EdgeUrl("https://memex.marginalia.nu/#here");
|
||||
System.out.println(url.path);
|
||||
assertEquals(
|
||||
new EdgeUrl("https://memex.marginalia.nu/"),
|
||||
new EdgeUrl("https://memex.marginalia.nu/#here")
|
||||
);
|
||||
}
|
||||
@Test
|
||||
public void testParam() throws URISyntaxException {
|
||||
|
Loading…
Reference in New Issue
Block a user