Skip to content

Commit c15bdfc

Browse files
committed
Correct typo in SignatureTest file
1 parent 1828c8a commit c15bdfc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ object Build {
361361
// Settings used when compiling dotty with a non-bootstrapped dotty
362362
lazy val commonBootstrappedSettings = commonDottySettings ++ NoBloopExport.settings ++ Seq(
363363
// To enable support of scaladoc and language-server projects you need to change this to true and use sbt as your build server
364-
// bspEnabled := false,
364+
bspEnabled := false,
365365
(Compile / unmanagedSourceDirectories) += baseDirectory.value / "src-bootstrapped",
366366

367367
version := dottyVersion,

scaladoc/test/dotty/tools/scaladoc/signatures/SignatureTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ abstract class SignatureTest(
4343

4444
val unexpected = unexpectedFromSources.flatMap(actualSignatures.get).flatten
4545
val expectedButNotFound = expectedFromSources.flatMap {
46-
case (k, v) => findMissingSingatures(v, actualSignatures.getOrElse(k, Nil))
46+
case (k, v) => findMissingSignatures(v, actualSignatures.getOrElse(k, Nil))
4747
}
4848

4949
val missingReport = Option.when(!ignoreMissingSignatures && !expectedButNotFound.isEmpty)
@@ -75,7 +75,7 @@ abstract class SignatureTest(
7575
private val unexpectedRegex = raw"(.+)//unexpected".r
7676
private val identifierRegex = raw"^\s*(`.*`|(?:\w+)(?:_[^\[\(\s]+)|\w+|[^\[\(\s]+)".r
7777

78-
private def findMissingSingatures(expected: Seq[String], actual: Seq[String]): Set[String] =
78+
private def findMissingSignatures(expected: Seq[String], actual: Seq[String]): Set[String] =
7979
expected.toSet &~ actual.toSet
8080

8181
extension (s: String)

0 commit comments

Comments
 (0)