Skip to content

Commit

Permalink
Reformat with scalafmt 3.8.6
Browse files Browse the repository at this point in the history
Executed command: scalafmt --non-interactive
  • Loading branch information
scala-steward committed Jan 25, 2025
1 parent f73196f commit 4a6a666
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,16 @@ class AmqpFieldValueSpec extends AnyFlatSpecLike with PropertyChecks with Matche
AmqpFieldValue.unsafeFrom("fs2") should be(StringVal("fs2"))
AmqpFieldValue.unsafeFrom(arrayVal.toValueWriterCompatibleJava) should be(arrayVal)
}
it should "preserve the same value after a round-trip through impure and from" in {
it should "preserve the same value after a round-trip through impure and from" in
forAll { (amqpHeaderVal: AmqpFieldValue) =>
AmqpFieldValue.unsafeFrom(amqpHeaderVal.toValueWriterCompatibleJava) == amqpHeaderVal
}
}

it should "preserve the same values after a round-trip through the Java ValueReader and ValueWriter" in {
it should "preserve the same values after a round-trip through the Java ValueReader and ValueWriter" in
forAll(assertThatValueIsPreservedThroughJavaWriteAndRead _)
}

it should "preserve a specific StringVal that previously failed after a round-trip through the Java ValueReader and ValueWriter" in {
it should "preserve a specific StringVal that previously failed after a round-trip through the Java ValueReader and ValueWriter" in
assertThatValueIsPreservedThroughJavaWriteAndRead(StringVal("kyvmqzlbjivLqQFukljghxdowkcmjklgSeybdy"))
}

it should "preserve a specific DateVal created from an Instant that has millisecond accuracy after a round-trip through the Java ValueReader and ValueWriter" in {
val instant = Instant.parse("4000-11-03T20:17:29.57Z")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ class AmqpPropertiesSpec extends AnyFlatSpecLike with PropertyChecks with Matche

import AmqpPropertiesArbs._

it should s"convert from and to Java AMQP.BasicProperties" in {
it should s"convert from and to Java AMQP.BasicProperties" in
forAll { (amqpProperties: AmqpProperties) =>
val basicProps = amqpProperties.asBasicProps
AmqpProperties.unsafeFrom(basicProps) should be(amqpProperties)
}
}

it should "create an empty amqp properties" in {
AmqpProperties.empty should be(
Expand Down

0 comments on commit 4a6a666

Please sign in to comment.