mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
d74059580c
We were off-by-one when returning the result of parsing a quoted string in Web::Fetch::Infrastructure::collect_an_http_quoted_string. Instead of backtracking the lexer and consuming the backtracked string, do a simple substring operation.
18 lines
428 B
CMake
18 lines
428 B
CMake
set(TEST_SOURCES
|
|
TestCSSIDSpeed.cpp
|
|
TestCSSPixels.cpp
|
|
TestFetchInfrastructure.cpp
|
|
TestFetchURL.cpp
|
|
TestHTMLTokenizer.cpp
|
|
TestMicrosyntax.cpp
|
|
TestMimeSniff.cpp
|
|
TestNumbers.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibWeb LIBS LibWeb)
|
|
endforeach()
|
|
|
|
target_link_libraries(TestFetchURL PRIVATE LibURL)
|
|
|
|
install(FILES tokenizer-test.html DESTINATION usr/Tests/LibWeb)
|