eclipse / eclipse-collections

Eclipse Collections is a collections framework for Java with optimized data structures and a rich, functional and fluent API.
https://eclipse.dev/collections/
2.43k stars 610 forks source link

Refactor UnmodifiableTreeMapTest to use assertThrows instead of @Test(expected). #1610

Closed motlin closed 4 months ago

motlin commented 4 months ago

Before:

❯ rg '@Test\(expected' | wc -l
     869

After:

❯ rg '@Test(expected' | wc -l 835

I could use help with these @Desislav-Petrov

Desislav-Petrov commented 4 months ago

@motlin - will open a few PRs as well to sort out these

motlin commented 4 months ago

I truly don't understand the build failure. I didn't touch the file. Anyway my other PR #1590 fixes cleaning/caching so I'm not going to worry about it unless it still happens after that one lands.