replace unicode arrows

* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
This commit is contained in:
Patrik Nordwall 2019-02-09 15:25:39 +01:00
parent e4d38f92a4
commit 5c96a5f556
1521 changed files with 18846 additions and 18786 deletions

View file

@ -46,10 +46,10 @@ object MultiNode extends AutoPlugin {
val MultinodeJvmArgs = "multinode\\.(D|X)(.*)".r
val knownPrefix = Set("multnode.", "akka.", "MultiJvm.")
val akkaProperties = System.getProperties.stringPropertyNames.asScala.toList.collect {
case MultinodeJvmArgs(a, b)
case MultinodeJvmArgs(a, b) =>
val value = System.getProperty("multinode." + a + b)
"-" + a + b + (if (value == "") "" else "=" + value)
case key: String if knownPrefix.exists(pre key.startsWith(pre)) "-D" + key + "=" + System.getProperty(key)
case key: String if knownPrefix.exists(pre => key.startsWith(pre)) => "-D" + key + "=" + System.getProperty(key)
}
"-Xmx256m" :: akkaProperties ::: CliOptions.sbtLogNoFormat.ifTrue("-Dakka.test.nocolor=true").toList
@ -106,9 +106,9 @@ object MultiNode extends AutoPlugin {
implicit class TestResultOps(val self: TestResult) extends AnyVal {
def id: Int = self match {
case TestResult.Passed 0
case TestResult.Failed 1
case TestResult.Error 2
case TestResult.Passed => 0
case TestResult.Failed => 1
case TestResult.Error => 2
}
}
}
@ -123,7 +123,7 @@ object MultiNodeScalaTest extends AutoPlugin {
override lazy val projectSettings = Seq(
extraOptions in MultiJvm := {
val src = (sourceDirectory in MultiJvm).value
(name: String) (src ** (name + ".conf")).get.headOption.map("-Dakka.config=" + _.absolutePath).toSeq
(name: String) => (src ** (name + ".conf")).get.headOption.map("-Dakka.config=" + _.absolutePath).toSeq
},
scalatestOptions in MultiJvm := {
Seq("-C", "org.scalatest.extra.QuietReporter") ++