Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
pieter-bos committed May 7, 2024
1 parent 39bda1a commit 5ce884f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class OldExampleFileHeader extends AnyFlatSpec {
// PB TODO: We should clean up the example description at some point, but it's not a big priority.
cancel()

val wrongFiles = ExampleFiles.FILES.map(RWFile).filter(_.readLines().exists(_.stripLeading().startsWith("//::")))
val wrongFiles = ExampleFiles.FILES.map(RWFile(_)).filter(_.readLines().exists(_.stripLeading().startsWith("//::")))

for(f <- wrongFiles) {
println(s"File ${f.fileName} contains a line starting with `//::`. This is the old syntax to enter a file into the test suite, but this is no longer used.")
Expand Down

0 comments on commit 5ce884f

Please sign in to comment.