Skip to content

Commit 0f79fac

Browse files
committed
style: fix formatting in cbor.dart and dcaf_test.dart
1 parent 357f64c commit 0f79fac

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

lib/src/cbor.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ extension NullableEquals on ByteString? {
3434

3535
/// Abstract class intended for data structures which are serializable to CBOR.
3636
abstract class CborSerializable {
37-
3837
/// Don't use this. This class was not designed to be extended by clients.
3938
@protected
4039
CborSerializable();

test/dcaf_test.dart

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,8 @@ void main() {
290290

291291
group('Access Token Request', () {
292292
test('Symmetric Request', () {
293-
final request = AccessTokenRequest(
294-
clientId: "myclient",
295-
audience: "tempSensor4711"
296-
);
293+
final request =
294+
AccessTokenRequest(clientId: "myclient", audience: "tempSensor4711");
297295
expectSerDeRequest(
298296
request, "A2056E74656D7053656E736F72343731311818686D79636C69656E74");
299297
});
@@ -454,13 +452,13 @@ void main() {
454452
});
455453

456454
group('Error Response', () {
457-
458455
test('Simple Error', () {
459456
final error = ErrorResponse(
460457
error: ErrorCode.unauthorizedClient,
461458
description: "You are not authorized to receive this token.",
462459
uri: "https://http.cat/401");
463-
expectSerDeError(error, "A3181E04181F782D596F7520617265206E6F7420617574686F72697A656420746F2072656365697665207468697320746F6B656E2E18207468747470733A2F2F687474702E6361742F343031");
460+
expectSerDeError(error,
461+
"A3181E04181F782D596F7520617265206E6F7420617574686F72697A656420746F2072656365697665207468697320746F6B656E2E18207468747470733A2F2F687474702E6361742F343031");
464462
});
465463
});
466464
}

0 commit comments

Comments
 (0)