Skip to content

Commit

Permalink
bugfix: Fix cross and unit tests
Browse files Browse the repository at this point in the history
Not sure why the order changes for Hover tests, but that's not super relevant.

The symlink-target test should have actually failed, since createDirectories doesn't throw according to spec.
  • Loading branch information
tgodzik committed Jan 30, 2025
1 parent 1ac0c13 commit 5391dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,8 @@ class HoverTermSuite extends BaseHoverSuite {
|}
|""".stripMargin,
"""|```scala
|type S = Set
|type AB = AbstractMap
|type S = Set
|```
|
|```scala
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CreateDirectoriesSuite extends BaseSuite {

// check that we get an exception using the default nio method
intercept[FileAlreadyExistsException] {
Files.createDirectories(symlinkPluginsPath)
Files.createDirectory(symlinkPluginsPath)
}
AbsolutePath(symlinkPluginsPath).createDirectories()
}
Expand Down

0 comments on commit 5391dfb

Please sign in to comment.