Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed May 16, 2024
1 parent 8761ad2 commit ccc4c18
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generator/CountriesGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace StaticDataGenerator;

internal class CountriesGenerator(IHostEnvironment environment, FileDownloader downloader)
internal class CountriesGenerator(IHostEnvironment environment, FileDownloader downloader)
: AbstractGenerator<List<CountriesGenerator.CountryImpl>>(environment, downloader, "countries-20200124.json")
{
internal struct CountryImpl
Expand Down
2 changes: 1 addition & 1 deletion generator/LanguagesGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace StaticDataGenerator;

internal partial class LanguagesGenerator(IHostEnvironment environment, FileDownloader downloader)
internal partial class LanguagesGenerator(IHostEnvironment environment, FileDownloader downloader)
: AbstractGenerator<List<LanguagesGenerator.LanguageImpl>>(environment, downloader, "iso-639-3.tab")
{
internal record struct LanguageImpl(string Name, string Part3, string? Part1, string Type, string Scope);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ namespace Tingle.AspNetCore.Authentication.SharedKey;
/// <param name="scheme"></param>
/// <param name="options"></param>
public class ForbiddenContext(HttpContext context, AuthenticationScheme scheme, SharedKeyOptions options)
: ResultContext<SharedKeyOptions>(context, scheme, options) { }
: ResultContext<SharedKeyOptions>(context, scheme, options)
{ }
11 changes: 10 additions & 1 deletion src/Tingle.Extensions.Primitives/Continent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@ public sealed class Continent : IEquatable<Continent>, IComparable<Continent>, I
/// A list of known continents
/// </summary>
public static readonly Continent[] KnownContinents = [
Asia, Europe, Americas, Africa, NorthAmerica, SouthAmerica, Antarctica, Oceania, Australia, Kenorland,
Asia,
Europe,
Americas,
Africa,
NorthAmerica,
SouthAmerica,
Antarctica,
Oceania,
Australia,
Kenorland,
];

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void TimeLimited_Protection_Works_On_DataClass()
AssertTimeLimitedValueEncryptDecrypt(d, expiration);

var lifespan = TimeSpan.FromSeconds(60);
AssertTimeLimitedValueEncryptDecrypt( d, lifespan);
AssertTimeLimitedValueEncryptDecrypt(d, lifespan);
}

[Fact]
Expand Down

0 comments on commit ccc4c18

Please sign in to comment.