Skip to content

Commit d74f511

Browse files
committed
Whitespace and formatting
1 parent e732f6a commit d74f511

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/SponsorLink/Tests/SponsorLinkTests.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
extern alias Analyzer;
2-
using System;
3-
using System.Collections.Generic;
4-
using System.ComponentModel.DataAnnotations;
5-
using System.IdentityModel.Tokens.Jwt;
6-
using System.Linq;
7-
using System.Security.Claims;
82
using System.Security.Cryptography;
9-
using System.Text;
103
using System.Text.Json;
11-
using System.Threading.Tasks;
124
using Analyzer::Devlooped.Sponsors;
135
using Devlooped.Sponsors;
146
using Microsoft.IdentityModel.Tokens;
@@ -98,9 +90,7 @@ public void TryRead()
9890
// Org + personal sponsor
9991
var barSponsor = barSponsorable.Sign([new("sub", "kzu"), new("email", "me@bar.com"), new("roles", "org"), new("roles", "user")], expiration: TimeSpan.FromDays(30));
10092

101-
Assert.True(SponsorLink.TryRead(out var principal,
102-
[(fooSponsor, ToJwk(fooSponsorable.SecurityKey)),
103-
(barSponsor, ToJwk(barSponsorable.SecurityKey))]));
93+
Assert.True(SponsorLink.TryRead(out var principal, [(fooSponsor, ToJwk(fooSponsorable.SecurityKey)), (barSponsor, ToJwk(barSponsorable.SecurityKey))]));
10494

10595
// Can check role across both JWTs
10696
Assert.True(principal.IsInRole("org"));

0 commit comments

Comments
 (0)