Everywhere: Move commonmark.spec.json to /home/anon/Tests

This commit is contained in:
Brian Gianforcaro 2022-03-20 12:08:05 -07:00 committed by Andreas Kling
parent 95b295971d
commit 97f622747b
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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());