Skip to content

Commit

Permalink
Fixed tests (Resolves #49)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Mar 19, 2022
1 parent 3163e7a commit bae6ec4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.settings(
name := "perfolation",
libraryDependencies ++= Seq(
"org.scalatest" %%% "scalatest" % scalaTestVersion % Test
"org.scalatest" %% "scalatest" % scalaTestVersion % Test
)
)

Expand All @@ -55,7 +55,7 @@ lazy val unit = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.settings(
name := "perfolation-unit",
libraryDependencies ++= Seq(
"org.scalatest" %%% "scalatest" % scalaTestVersion % Test
"org.scalatest" %% "scalatest" % scalaTestVersion % Test
)
)

Expand Down
5 changes: 3 additions & 2 deletions core/shared/src/test/scala/tests/DateFormatSpec.scala
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package tests

import testy.Spec
import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec

import scala.language.implicitConversions

class DateFormatSpec extends Spec {
class DateFormatSpec extends AnyWordSpec with Matchers {
"Date Formatting" should {
import perfolation._

Expand Down
5 changes: 3 additions & 2 deletions core/shared/src/test/scala/tests/NumberFormatSpec.scala
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package tests

import testy.Spec
import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec
import perfolation.numeric.{FastNumber, Grouping, RoundingMode}

import scala.language.implicitConversions

class NumberFormatSpec extends Spec {
class NumberFormatSpec extends AnyWordSpec with Matchers {
"Number Formatting" should {
import perfolation._

Expand Down
5 changes: 3 additions & 2 deletions unit/src/test/scala/spec/InformationSpec.scala
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package spec

import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec
import perfolation.unit._
import testy.Spec

import scala.language.implicitConversions

class InformationSpec extends Spec {
class InformationSpec extends AnyWordSpec with Matchers {
"Information" when {
"using binary" should {
"validate bytes" in {
Expand Down

0 comments on commit bae6ec4

Please sign in to comment.