mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-13 14:42:51 +00:00
For example, in the following abbreviated test HTML: <span>some text</span> <script>println("whf")</script> We would have to craft the expectation file to include the "some text" segment, usually with some leading whitespace. This is a bit annoying, and makes it difficult to manually craft expectation files. So instead of comparing the expectation against the entire DOM inner text, we now send the inner text of just the <pre> element containing the test output when we invoke `internals.signalTextTestIsDone`.
12 lines
586 B
Text
12 lines
586 B
Text
input1:
|
|
file1 (index iteration): text/plain: Contents for file1
|
|
file1 (for..of iteration): text/plain: Contents for file1
|
|
input2:
|
|
file1 (index iteration): text/plain: Contents for file1
|
|
file2 (index iteration): text/plain: Contents for file2
|
|
file3 (index iteration): text/plain: Contents for file3
|
|
file4 (index iteration): text/plain: Contents for file4
|
|
file1 (for..of iteration): text/plain: Contents for file1
|
|
file2 (for..of iteration): text/plain: Contents for file2
|
|
file3 (for..of iteration): text/plain: Contents for file3
|
|
file4 (for..of iteration): text/plain: Contents for file4
|