From ad821b48a43c813bb39b83dec016e4e9917216f2 Mon Sep 17 00:00:00 2001 From: Simon Dassow Date: Tue, 15 Oct 2024 15:43:58 +0200 Subject: [PATCH] Change test values to make them easier to distinguish --- cmd/fyne/internal/commands/translate_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/fyne/internal/commands/translate_test.go b/cmd/fyne/internal/commands/translate_test.go index 71d00ce282..60d6588f63 100644 --- a/cmd/fyne/internal/commands/translate_test.go +++ b/cmd/fyne/internal/commands/translate_test.go @@ -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") } @@ -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") }