Skip to content

Commit

Permalink
A few more linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gphat committed Apr 2, 2018
1 parent fab0421 commit fcbd5cc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions src/test/scala/github/gphat/censorinus/ClientSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import org.scalacheck.Arbitrary.arbitrary
import org.scalatest.prop.GeneratorDrivenPropertyChecks
import org.scalatest._
import org.scalatest.concurrent.Eventually
import scala.collection.mutable.ArrayBuffer
import github.gphat.censorinus.statsd.Encoder

object TestSender {
Expand Down Expand Up @@ -159,7 +158,7 @@ class ClientSpec extends FlatSpec with Matchers with Eventually with GeneratorDr
implicit val arbMetricLines: Arbitrary[MetricLines] =
Arbitrary(Gen.listOf(shortLine).map(_.toVector).map(MetricLines))

def batcher(newBatcher: => Client.Batcher) {
def batcher(newBatcher: => Client.Batcher): Unit = {
it should "batch metrics with new lines" in {
forAll { (lines: MetricLines) =>
assert(batchAndDecode(newBatcher, lines.iterator).mkString("\n") == lines.iterator.mkString("\n"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package github.gphat.censorinus

import org.scalatest._
import scala.collection.mutable.ArrayBuffer
import scala.util.matching.Regex
import github.gphat.censorinus.statsd.Encoder

class DogStatsDClientSpec extends FlatSpec with Matchers with BeforeAndAfter {

Expand Down
2 changes: 0 additions & 2 deletions src/test/scala/github/gphat/censorinus/StatsDClientSpec.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package github.gphat.censorinus

import org.scalatest._
import scala.collection.mutable.ArrayBuffer
import github.gphat.censorinus.statsd.Encoder

class StatsDClientSpec extends FlatSpec with Matchers with BeforeAndAfter {

Expand Down

0 comments on commit fcbd5cc

Please sign in to comment.