Skip to content

Commit

Permalink
Replace some colossal strings in the compiler tests
Browse files Browse the repository at this point in the history
There are some very large string literals in the compiler tests.
These string literals make the code hard to read,
since you have to scroll down thousands of lines to see the rest of the test case.
Since these strings are very repetitive,
they can be easily generated with a `StringBuilder` and for loops.

After this change,
we will still be testing that ECJ can compile colossal strings,
since there is a test case for that.

Signed-off-by: David Thompson <[email protected]>
  • Loading branch information
datho7561 committed Jan 20, 2025
1 parent 2c1b10f commit 543d3ea
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 13,148 deletions.
Loading

0 comments on commit 543d3ea

Please sign in to comment.