From eca9d2b11b5e4e96e7ffd825eb3e73c4006a6c4a Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Mon, 11 Mar 2024 09:58:47 +0900 Subject: [PATCH] more invalid input test --- localServer/src/test/scala/scalameta_ast/IntegrationTest.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/localServer/src/test/scala/scalameta_ast/IntegrationTest.scala b/localServer/src/test/scala/scalameta_ast/IntegrationTest.scala index 4b41153..fa2882d 100644 --- a/localServer/src/test/scala/scalameta_ast/IntegrationTest.scala +++ b/localServer/src/test/scala/scalameta_ast/IntegrationTest.scala @@ -421,5 +421,6 @@ abstract class IntegrationTest(browserType: Playwright => BrowserType) extends A "invalid input" in withBrowser { page => setInput(page, "def") assert(infoElem(page).getAttribute("class") == "alert alert-danger") + assert(infoElem(page).textContent() contains "error: identifier expected but end of file found") } }