Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
som-snytt committed Jan 28, 2025
1 parent 6c2c5c5 commit 152a8cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/test/dotty/tools/utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def toolArgsFor(files: List[JPath], charset: Charset = UTF_8): ToolArgs =

/** Take a prefix of each file, extract tool args, parse, and combine.
* Arg parsing respects quotation marks. Result is a map from ToolName to the combined tokens.
* If the ToolName is Target, then also accumulate the file name associated with the given platform.
* If the ToolName is Target, then also accumulate the file name associated with the given platform.
*/
def platformAndToolArgsFor(files: List[JPath], charset: Charset = UTF_8): (PlatformFiles, ToolArgs) =
files.foldLeft(Map.empty[TestPlatform, List[String]] -> Map.empty[ToolName, List[String]]) { (res, path) =>
Expand Down
2 changes: 1 addition & 1 deletion tests/warn/i18564.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

//> using option -Wunused:imports
//> using options -Wunused:imports

import scala.compiletime.*
import scala.deriving.*
Expand Down

0 comments on commit 152a8cd

Please sign in to comment.