Everywhere: Move commonmark.spec.json to /home/anon/Tests
This commit is contained in:
parent
95b295971d
commit
97f622747b
Notes:
sideshowbarker
2024-07-17 17:01:17 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/97f622747b Pull-request: https://github.com/SerenityOS/serenity/pull/13161
2 changed files with 2 additions and 2 deletions
|
@ -5,5 +5,5 @@ set(MARKDOWN_TEST_URL https://spec.commonmark.org/0.30/spec.json)
|
|||
|
||||
if(ENABLE_COMMONMARK_SPEC_DOWNLOAD)
|
||||
file(DOWNLOAD ${MARKDOWN_TEST_URL} ${MARKDOWN_TEST_PATH})
|
||||
install(FILES ${MARKDOWN_TEST_PATH} DESTINATION home/anon)
|
||||
install(FILES ${MARKDOWN_TEST_PATH} DESTINATION home/anon/Tests)
|
||||
endif()
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
TEST_SETUP
|
||||
{
|
||||
auto file_or_error = Core::Stream::File::open("/home/anon/commonmark.spec.json", Core::Stream::OpenMode::Read);
|
||||
auto file_or_error = Core::Stream::File::open("/home/anon/Tests/commonmark.spec.json", Core::Stream::OpenMode::Read);
|
||||
if (file_or_error.is_error())
|
||||
file_or_error = Core::Stream::File::open("./commonmark.spec.json", Core::Stream::OpenMode::Read);
|
||||
VERIFY(!file_or_error.is_error());
|
||||
|
|
Loading…
Add table
Reference in a new issue