Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
loicgreffier committed Jan 3, 2025
1 parent 21db6d4 commit 4618216
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ void shouldInjectInterruptLoop() {
assertEquals("function(){Packages." + JsEndpoints.class.getName() + ".checkInterrupted();};", actual);

String actualTwo = JavaScriptUtils.injectInterrupt("function()\n{\nwhile(true)\n{\n}\n};");
assertEquals("function(){Packages." + JsEndpoints.class.getName() + ".checkInterrupted();\nwhile(true){Packages."
+ JsEndpoints.class.getName() + ".checkInterrupted();\n}\n};", actualTwo);
assertEquals("function(){Packages." + JsEndpoints.class.getName()
+ ".checkInterrupted();\nwhile(true){Packages."
+ JsEndpoints.class.getName()
+ ".checkInterrupted();\n}\n};", actualTwo);
}
}

0 comments on commit 4618216

Please sign in to comment.