mirror of
https://github.com/osukey/osukey.git
synced 2025-05-08 07:07:18 +09:00
fix image test not load
looks like forgot to change this after `CurrentPath` shenanigan
This commit is contained in:
parent
a9084db665
commit
ab977d91f0
@ -102,7 +102,7 @@ needs_cleanup: true
|
|||||||
{
|
{
|
||||||
AddStep("Add absolute image", () =>
|
AddStep("Add absolute image", () =>
|
||||||
{
|
{
|
||||||
markdownContainer.DocumentUrl = "https://dev.ppy.sh";
|
markdownContainer.CurrentPath = "https://dev.ppy.sh";
|
||||||
markdownContainer.Text = "";
|
markdownContainer.Text = "";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -112,8 +112,7 @@ needs_cleanup: true
|
|||||||
{
|
{
|
||||||
AddStep("Add relative image", () =>
|
AddStep("Add relative image", () =>
|
||||||
{
|
{
|
||||||
markdownContainer.DocumentUrl = "https://dev.ppy.sh";
|
markdownContainer.CurrentPath = "https://dev.ppy.sh/wiki/Interface/";
|
||||||
markdownContainer.CurrentPath = $"{API.WebsiteRootUrl}/wiki/Interface/";
|
|
||||||
markdownContainer.Text = "";
|
markdownContainer.Text = "";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -123,8 +122,7 @@ needs_cleanup: true
|
|||||||
{
|
{
|
||||||
AddStep("Add paragraph with block image", () =>
|
AddStep("Add paragraph with block image", () =>
|
||||||
{
|
{
|
||||||
markdownContainer.DocumentUrl = "https://dev.ppy.sh";
|
markdownContainer.CurrentPath = "https://dev.ppy.sh/wiki/Interface/";
|
||||||
markdownContainer.CurrentPath = $"{API.WebsiteRootUrl}/wiki/Interface/";
|
|
||||||
markdownContainer.Text = @"Line before image
|
markdownContainer.Text = @"Line before image
|
||||||
|
|
||||||

|

|
||||||
@ -138,7 +136,7 @@ Line after image";
|
|||||||
{
|
{
|
||||||
AddStep("Add inline image", () =>
|
AddStep("Add inline image", () =>
|
||||||
{
|
{
|
||||||
markdownContainer.DocumentUrl = "https://dev.ppy.sh";
|
markdownContainer.CurrentPath = "https://dev.ppy.sh";
|
||||||
markdownContainer.Text = " osu!";
|
markdownContainer.Text = " osu!";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -148,7 +146,7 @@ Line after image";
|
|||||||
{
|
{
|
||||||
AddStep("Add Table", () =>
|
AddStep("Add Table", () =>
|
||||||
{
|
{
|
||||||
markdownContainer.DocumentUrl = "https://dev.ppy.sh";
|
markdownContainer.CurrentPath = "https://dev.ppy.sh";
|
||||||
markdownContainer.Text = @"
|
markdownContainer.Text = @"
|
||||||
| Image | Name | Effect |
|
| Image | Name | Effect |
|
||||||
| :-: | :-: | :-- |
|
| :-: | :-: | :-- |
|
||||||
@ -166,11 +164,6 @@ Line after image";
|
|||||||
{
|
{
|
||||||
public LinkInline Link;
|
public LinkInline Link;
|
||||||
|
|
||||||
public new string DocumentUrl
|
|
||||||
{
|
|
||||||
set => base.DocumentUrl = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public override MarkdownTextFlowContainer CreateTextFlow() => new TestMarkdownTextFlowContainer
|
public override MarkdownTextFlowContainer CreateTextFlow() => new TestMarkdownTextFlowContainer
|
||||||
{
|
{
|
||||||
UrlAdded = link => Link = link,
|
UrlAdded = link => Link = link,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user