Make test work with Java 8, too
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 27 Sep 2021 11:03:39 +0000 (13:03 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 27 Sep 2021 11:29:41 +0000 (13:29 +0200)
commitbfaaa6079966860b840f01cba4e83dc6e1cff947
tree24d8b830ea44687a68c83d75de43b8407983831d
parent28ad647af3d7e3f49c5ec655b3640e27293a67fc
Make test work with Java 8, too

Because the Files.writeString method was only added in Java 11 but I
still want Sone to be compilable and runnable with Java 8 because
a) it's what I still use (yes, I'm proper ashamed) and b) it's probably
what many other people still use as long as Freenet doesn't bundle its
own Java (which it really should).
src/test/kotlin/net/pterodactylus/sone/web/pages/ReloadingPageTest.kt