File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
main/scala/scala/util/parsing/combinator
test/scala/scala/util/parsing/combinator Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ language: scala
33before_install :
44 - cat /etc/hosts # optionally check the content *before*
55 - sudo hostname "$(hostname | cut -c1-63)"
6- - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
6+ - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts
7+ - sudo mv /tmp/hosts /etc/hosts
78 - cat /etc/hosts # optionally check the content *after*
89
910env :
Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ trait Parsers {
565565 * @return a `tParser` that succeeds if `e` is the next available input.
566566 */
567567
568- implicit def accept (e : Elem ): Parser [Elem ] = acceptIf(_ == e)(" ` " + e+ " ' expected but " + _ + " found" )
568+ implicit def accept (e : Elem ): Parser [Elem ] = acceptIf(_ == e)(" ' " + e+ " ' expected but " + _ + " found" )
569569
570570 /** A parser that matches only the given list of element `es`.
571571 *
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class PackratParsersTest {
122122 val failure = parseResult.asInstanceOf [Failure ]
123123 assertEquals(expectedFailureMsg, failure.msg)
124124 }
125- assertFailure(" ` `b'' expected but `c' found" , " a a a a b b b c c c c" )
125+ assertFailure(" ' `b'' expected but `c' found" , " a a a a b b b c c c c" )
126126 assertFailure(" end of input" , " a a a a b b b b c c c" )
127127 }
128128
You can’t perform that action at this time.
0 commit comments