Skip to content

Commit

Permalink
feat(format): Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
nhaajt committed Dec 11, 2023
1 parent be7f1b7 commit a6b84d3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions core/src/test/scala/weaponregex/parser/ParserJSTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ class ParserJSTest extends munit.FunSuite with ParserTest {

assert(clue(parsedTree.children.head) match {
case UnicodeCharClass("Alpha", _, true, None) => true
case _ => false
case _ => false
})
assert(clue(parsedTree.children.last) match {
case UnicodeCharClass("hello_World_0123", _, false, None) => true
case _ => false
case _ => false
})

treeBuildTest(parsedTree, pattern)
Expand All @@ -186,11 +186,11 @@ class ParserJSTest extends munit.FunSuite with ParserTest {

assert(clue(parsedTree.children.head) match {
case UnicodeCharClass("Script_Extensions", _, true, Some("Latin")) => true
case _ => false
case _ => false
})
assert(clue(parsedTree.children.last) match {
case UnicodeCharClass("hello_World_0123", _, false, Some("Goodbye_world_321")) => true
case _ => false
case _ => false
})

treeBuildTest(parsedTree, pattern)
Expand All @@ -205,11 +205,11 @@ class ParserJSTest extends munit.FunSuite with ParserTest {

assert(clue(parsedTree.children.head) match {
case UnicodeCharClass("Alpha", _, true, None) => true
case _ => false
case _ => false
})
assert(clue(parsedTree.children.last) match {
case UnicodeCharClass("hello_World_0123", _, false, None) => true
case _ => false
case _ => false
})

treeBuildTest(parsedTree, pattern)
Expand All @@ -224,11 +224,11 @@ class ParserJSTest extends munit.FunSuite with ParserTest {

assert(clue(parsedTree.children.head) match {
case UnicodeCharClass("Script_Extensions", _, true, Some("Latin")) => true
case _ => false
case _ => false
})
assert(clue(parsedTree.children.last) match {
case UnicodeCharClass("hello_World_0123", _, false, Some("Goodbye_world_321")) => true
case _ => false
case _ => false
})

treeBuildTest(parsedTree, pattern)
Expand Down
16 changes: 8 additions & 8 deletions core/src/test/scala/weaponregex/parser/ParserJVMTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ class ParserJVMTest extends munit.FunSuite with ParserTest {

assert(clue(parsedTree.children.head) match {
case UnicodeCharClass("Alpha", _, true, None) => true
case _ => false
case _ => false
})
assert(clue(parsedTree.children.last) match {
case UnicodeCharClass("hello_World_0123", _, false, None) => true
case _ => false
case _ => false
})

treeBuildTest(parsedTree, pattern)
Expand All @@ -153,11 +153,11 @@ class ParserJVMTest extends munit.FunSuite with ParserTest {

assert(clue(parsedTree.children.head) match {
case UnicodeCharClass("Script_Extensions", _, true, Some("Latin")) => true
case _ => false
case _ => false
})
assert(clue(parsedTree.children.last) match {
case UnicodeCharClass("hello_World_0123", _, false, Some("Goodbye_world_321")) => true
case _ => false
case _ => false
})

treeBuildTest(parsedTree, pattern)
Expand All @@ -169,11 +169,11 @@ class ParserJVMTest extends munit.FunSuite with ParserTest {

assert(clue(parsedTree.children.head) match {
case UnicodeCharClass("Alpha", _, true, None) => true
case _ => false
case _ => false
})
assert(clue(parsedTree.children.last) match {
case UnicodeCharClass("hello_World_0123", _, false, None) => true
case _ => false
case _ => false
})

treeBuildTest(parsedTree, pattern)
Expand All @@ -185,11 +185,11 @@ class ParserJVMTest extends munit.FunSuite with ParserTest {

assert(clue(parsedTree.children.head) match {
case UnicodeCharClass("Script_Extensions", _, true, Some("Latin")) => true
case _ => false
case _ => false
})
assert(clue(parsedTree.children.last) match {
case UnicodeCharClass("hello_World_0123", _, false, Some("Goodbye_world_321")) => true
case _ => false
case _ => false
})

treeBuildTest(parsedTree, pattern)
Expand Down

0 comments on commit a6b84d3

Please sign in to comment.