From ae7f4d5acfe2ab97bd51523aed24b6f6aa74523e Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 20 Sep 2021 01:22:18 +0200 Subject: Refactoring --- pkg/field/step_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/field/step_test.go') diff --git a/pkg/field/step_test.go b/pkg/field/step_test.go index e21540c..aecf89d 100644 --- a/pkg/field/step_test.go +++ b/pkg/field/step_test.go @@ -32,7 +32,7 @@ func TestStep(t *testing.T) { file, err := os.Open(tc.input) require.NoError(t, err, "Failed to open file") defer file.Close() - field, err := LoadFile(file) + field, err := Load(file) x, y := field.Step(tc.x, tc.y, tc.dx, tc.dy) require.NoError(t, err) require.Equal(t, tc.ex, x, "Invalid x value") -- cgit v1.2.3