Skip to content

Commit

Permalink
fix: broken test (#4735)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Feb 28, 2025
1 parent d2fefd1 commit 266a62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jvm-runtime/jvm_hot_reload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestLifecycleJVM(t *testing.T) {
return []byte(strings.ReplaceAll(string(content), "\"Hello", "\"Bye"))
}, "src/main/java/ftl/echo/Echo.java")),
in.IfLanguage("kotlin", in.EditFile("echo", func(content []byte) []byte {
return []byte(strings.ReplaceAll(string(content), "Hello", "Bye"))
return []byte(strings.ReplaceAll(string(content), "\"Hello", "\"Bye"))
}, "src/main/kotlin/ftl/echo/Echo.kt")),
in.Call("echo", "hello", map[string]string{"name": "Bob"}, func(t testing.TB, response map[string]string) {
assert.Equal(t, "Bye, Bob!", response["message"])
Expand Down

0 comments on commit 266a62b

Please sign in to comment.