Skip to content

Commit

Permalink
fix theme tests, missed that sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Feb 29, 2020
1 parent 75524de commit e0cb736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme/theme_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func Test_TextBoldItalicFont(t *testing.T) {

func Test_TextMonospaceFont(t *testing.T) {
fyne.CurrentApp().Settings().SetTheme(DarkTheme())
expect := "DejaVuSansMono-Regular.ttf"
expect := "DejaVuSansMono-Powerline.ttf"
result := TextMonospaceFont().Name()
assert.Equal(t, expect, result, "wrong monospace font")
}
Expand Down Expand Up @@ -201,7 +201,7 @@ func Test_DefaultTextItalicFont(t *testing.T) {

func Test_DefaultTextMonospaceFont(t *testing.T) {
fyne.CurrentApp().Settings().SetTheme(DarkTheme())
expect := "DejaVuSansMono-Regular.ttf"
expect := "DejaVuSansMono-Powerline.ttf"
result := DefaultTextMonospaceFont().Name()
assert.Equal(t, expect, result, "wrong default monospace font")
}

0 comments on commit e0cb736

Please sign in to comment.