From d7ab5bdb0f009277b4eed98cb894c493a13a058c Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Mon, 7 Oct 2024 16:09:55 +1100 Subject: [PATCH] fix moved relative paths to testdata --- .../languageplugin/go_plugin_integration_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/buildengine/languageplugin/go_plugin_integration_test.go b/internal/buildengine/languageplugin/go_plugin_integration_test.go index eec313fabe..5683c8faa9 100644 --- a/internal/buildengine/languageplugin/go_plugin_integration_test.go +++ b/internal/buildengine/languageplugin/go_plugin_integration_test.go @@ -14,7 +14,7 @@ import ( func TestGoBuildClearsBuildDir(t *testing.T) { file := "./another/.ftl/test-clear-build.tmp" in.Run(t, - in.WithTestDataDir("testdata"), + in.WithTestDataDir("../testdata"), in.CopyModule("another"), in.Build("another"), in.WriteFile(file, []byte{1}), @@ -26,7 +26,7 @@ func TestGoBuildClearsBuildDir(t *testing.T) { func TestExternalType(t *testing.T) { in.Run(t, - in.WithTestDataDir("testdata"), + in.WithTestDataDir("../testdata"), in.CopyModule("external"), in.ExpectError(in.Build("external"), `unsupported type "time.Month" for field "Month"`, @@ -43,7 +43,7 @@ func TestGeneratedTypeRegistry(t *testing.T) { file := "other/.ftl/go/main/main.go" in.Run(t, - in.WithTestDataDir("testdata"), + in.WithTestDataDir("../testdata"), // Deploy dependency in.CopyModule("another"), in.Deploy("another"),