summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ByteUtilsSpec.scala16
-rw-r--r--test/ConversionUtilsSpec.scala4
2 files changed, 10 insertions, 10 deletions
diff --git a/test/ByteUtilsSpec.scala b/test/ByteUtilsSpec.scala
index 8c7c7c9..4b63426 100644
--- a/test/ByteUtilsSpec.scala
+++ b/test/ByteUtilsSpec.scala
@@ -14,7 +14,7 @@ class ByteUtilsSpec extends IxeeSpec {
"when the destination is >= the source in range" - {
- "losslessly converts to the destination type" - {
+ "losslessly converts to the destination type" in {
}
@@ -22,7 +22,7 @@ class ByteUtilsSpec extends IxeeSpec {
"when the destination is smaller than the source" - {
- "throws an exception TODO: make it a Try?" - {
+ "throws an exception TODO: make it a Try?" in {
}
@@ -32,7 +32,7 @@ class ByteUtilsSpec extends IxeeSpec {
".truncatedTo" - {
- "converts to the target type, truncating extra bytes" - {
+ "converts to the target type, truncating extra bytes" in {
}
@@ -40,7 +40,7 @@ class ByteUtilsSpec extends IxeeSpec {
".byteSize" - {
- "returns the size of a the type, in bytes" - {
+ "returns the size of a the type, in bytes" in {
}
@@ -48,7 +48,7 @@ class ByteUtilsSpec extends IxeeSpec {
".bitSize" - {
- "returns the size of a type, in bits" - {
+ "returns the size of a type, in bits" in {
}
@@ -58,7 +58,7 @@ class ByteUtilsSpec extends IxeeSpec {
"BitOps" - {
- "provides typed operations that don't upcast to Int" - {
+ "provides typed operations that don't upcast to Int" in {
}
@@ -66,7 +66,7 @@ class ByteUtilsSpec extends IxeeSpec {
"toByteArray TODO: toByteSeq?" - {
- "returns the value as an array of bytes TODO: endianness?" - {
+ "returns the value as an array of bytes TODO: endianness?" in {
}
@@ -74,7 +74,7 @@ class ByteUtilsSpec extends IxeeSpec {
"toBinaryString" - {
- "returns the value as a string of 1s and 0s, padded to the full size" - {
+ "returns the value as a string of 1s and 0s, padded to the full size" in {
}
diff --git a/test/ConversionUtilsSpec.scala b/test/ConversionUtilsSpec.scala
index d6c17b3..74a5b89 100644
--- a/test/ConversionUtilsSpec.scala
+++ b/test/ConversionUtilsSpec.scala
@@ -9,7 +9,7 @@ class ConversionUtilsSpec extends FreeSpec with MustMatchers {
"ConversionUtils" - {
".hexStr2Bytes" - {
- "converts a hexadecimal string to an equivalent iterator of bytes" - {
+ "converts a hexadecimal string to an equivalent iterator of bytes" in {
hexStr2Bytes("12348765").toArray must equal(
Array[Byte](
0x12.toByte,
@@ -21,7 +21,7 @@ class ConversionUtilsSpec extends FreeSpec with MustMatchers {
}
"when the string is not an even length" - {
- "prepends a 0" - {
+ "prepends a 0" in {
hexStr2Bytes("2123").toArray must equal(hexStr2Bytes("0123").toArray)
}
}