Skip to content

Commit

Permalink
Fix field name
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBobSquarePants committed Jan 29, 2025
1 parent e9e3fbf commit 23fda1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/SixLabors.Fonts.Tests/Issues/Issues_444.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace SixLabors.Fonts.Tests.Issues;

public class Issues_444
{
private FontFamily charisSL = new FontCollection().Add(TestFonts.CharisSILRegular);
private readonly FontFamily charisSIL = new FontCollection().Add(TestFonts.CharisSILRegular);

[Fact]
public void Issue_444_A()
Expand Down Expand Up @@ -46,7 +46,7 @@ public void Issue_444_B()
[Fact]
public void Issue_444_C()
{
Font font = this.charisSL.CreateFont(85);
Font font = this.charisSIL.CreateFont(85);
TextLayoutTestUtilities.TestLayout(
"⇒ Bill Clinton\n⇒ Richard Nixon\n⇒ Lyndon B. Johnson\n⇒ John F. Kennedy",
new TextOptions(font)
Expand All @@ -59,7 +59,7 @@ public void Issue_444_C()
[Fact]
public void Issue_444_D()
{
Font font = this.charisSL.CreateFont(85);
Font font = this.charisSIL.CreateFont(85);
TextLayoutTestUtilities.TestLayout(
"⇒ Bill Clinton\r\n⇒ Richard Nixon\r\n⇒ Lyndon B. Johnson\r\n⇒ John F. Kennedy",
new TextOptions(font)
Expand All @@ -72,7 +72,7 @@ public void Issue_444_D()
[Fact]
public void Issue_444_E()
{
Font font = this.charisSL.CreateFont(85);
Font font = this.charisSIL.CreateFont(85);
TextLayoutTestUtilities.TestLayout(
"⇒ Bill Clinton\n⇒ Richard Nixon\n⇒ John F. Kennedy\n⇒ Lyndon B. Johnson",
new TextOptions(font)
Expand Down

0 comments on commit 23fda1d

Please sign in to comment.