Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scalafmt-core to 3.8.6 #1031

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Scala Steward: Reformat with scalafmt 3.7.0
913217c78deacdad6f729936c2d497f1f10aa677

# Scala Steward: Reformat with scalafmt 3.8.6
4a6a66672d0d325dfa9a53e6eb786cc58fee0415
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.8.5"
version = "3.8.6"
style = default
maxColumn = 120
align.preset = most
Expand Down
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
Loading