Skip to content

Commit

Permalink
Change test values to make them easier to distinguish
Browse files Browse the repository at this point in the history
  • Loading branch information
sdassow committed Oct 15, 2024
1 parent 0958357 commit ad821b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/fyne/internal/commands/translate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func TestTranslateVisitorKey(t *testing.T) {
t.Fatalf("failed to get the correct state: nil")
}

key := "yay"
key := "whee"
if translateKey(v, &ast.BasicLit{Value: fmt.Sprintf("%q", key)}) == nil {
t.Fatalf("failed to get the correct state")
}
Expand All @@ -235,7 +235,7 @@ func TestTranslateVisitorFallback(t *testing.T) {
t.Fatalf("failed to get the correct state: nil")
}

fallback := "yay"
fallback := "WHEE"
if translateLocalize(v, &ast.BasicLit{Value: fmt.Sprintf("%q", fallback)}) != nil {
t.Fatalf("failed to get the correct state")
}
Expand Down

0 comments on commit ad821b4

Please sign in to comment.