Skip to content

Commit

Permalink
Update test to reflect new language tool result grammar (including do…
Browse files Browse the repository at this point in the history
…uble quotes around result word)

message aborts the commit. # # On branch rm/bump-languagetool # Your branch is up to date with
'origin/rm/bump-languagetool'. # # Changes to be committed: # modified:
apps/checker/test/scala/matchers/LanguageToolMatcherTest.scala # # Changes not staged for commit: #
modified:  project/plugins.sbt # modified:  script/citest # modified:  script/start-manager # # Untracked
files: # cdk/package-lock.json # output.dict #
  • Loading branch information
rhystmills committed Jan 28, 2025
1 parent eb960f4 commit a33eee1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class LanguageToolMatcherTest extends AsyncFlatSpec with Matchers {
val eventuallyMatches = instance.check(request)

val expectedMatchMessages =
List("Did you mean <suggestion>fewer</suggestion>? The noun tests is countable.")
List("Did you mean <suggestion>fewer</suggestion>? The noun \"tests\" is countable.")
val expectedMatchCategoryIds = List("GRAMMAR")
eventuallyMatches map { matches =>
matches.map(_.message) shouldBe expectedMatchMessages
Expand Down

0 comments on commit a33eee1

Please sign in to comment.