Skip to content

Commit 3cc460f

Browse files
committed
typing never ends
1 parent 753ec3d commit 3cc460f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

parboiled-core/src/test/scala/org/parboiled2/ActionSpec.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object ActionSpec extends TestParserSpec {
2424
val tests = Tests {
2525

2626
"The Parser should correctly handle" - {
27-
"`capture` simple" - new TestParser1[String] {
27+
/*"`capture` simple" - new TestParser1[String] {
2828
def targetRule = rule(capture('b'))
2929
"b" must beMatchedWith("b")
3030
}
@@ -167,7 +167,7 @@ object ActionSpec extends TestParserSpec {
167167
def testRule = rule(capture("x") ~> (_ :: 1 :: 3.0 :: HNil))
168168
def targetRule = testRule
169169
"x" must beMatchedWith("x" :: 1 :: 3.0 :: HNil)
170-
}
170+
}*/
171171

172172
/*FIXME: one or more of these don't terminate while typing "`~>` with a statement block" - new TestParser1[Char] {
173173
var captured = ' '
@@ -192,7 +192,7 @@ object ActionSpec extends TestParserSpec {
192192
def targetRule = testRule
193193
"x" must beMismatched
194194
"xx" must beMatchedWith("x")
195-
}
195+
}*/
196196

197197
"`~>` producing an expression evaluating to a rule" - new TestParser0 {
198198
def testRule = rule(capture(anyOf("ab")) ~> (s => if (s == "a") ch('b') else ch('a')) ~ EOI)
@@ -201,7 +201,7 @@ object ActionSpec extends TestParserSpec {
201201
"ba" must beMatched
202202
"a" must beMismatched
203203
"b" must beMismatched
204-
}*/
204+
}
205205
}
206206
}
207207
}

0 commit comments

Comments
 (0)