Skip to content
Closed
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
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.9.9
9aa2dec771c14117ed3044a7192435c58936178a
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.7.17
version = 3.9.9
runner.dialect = scala3
project.git = true
maxColumn = 120
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class DnsCodecSpec extends FunSuite:
ByteVector.fromInt(DnsRecordType.A.code, 2) ++ // type
ByteVector.fromInt(DnsRecordClass.Internet.code, 2) ++ // class
ByteVector.fromLong(ttl.toSeconds, 4) ++ // ttl
ByteVector.fromInt(4, 2) ++ ByteVector(ipv4.getAddress) // rdlength + rdata
ByteVector.fromInt(4, 2) ++ ByteVector(ipv4.getAddress) // rdlength + rdata
).toBitVector
assertEquals(DnsCodec.dnsResourceRecord.encode(aRecord).require, data)
assertEquals(DnsCodec.dnsResourceRecord.complete.decode(data).require.value, aRecord)
Expand Down
Loading