Skip to content

Commit a670518

Browse files
committed
Change interpretation of ShadowingTests again
1 parent d7fb8bf commit a670518

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler/test/dotty/tools/repl/ShadowingTests.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ object ShadowingTests:
3232
def createSubDir(name: String): Path =
3333
val subdir = dir.resolve(name)
3434
try Files.createDirectory(subdir)
35-
catch
36-
case _: java.nio.file.FileAlreadyExistsException =>
37-
assert(Files.isDirectory(subdir), s"failed to create shadowed subdirectory $subdir")
35+
catch case _: java.nio.file.FileAlreadyExistsException =>
36+
assert(Files.isDirectory(subdir), s"failed to create shadowed subdirectory $subdir")
3837
subdir
3938

4039
// The directory on the classpath containing artifacts to be shadowed

0 commit comments

Comments
 (0)