aboutsummaryrefslogtreecommitdiff
path: root/pkg/field/step_test.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/field/step_test.go2
1 files changed, 1 insertions, 1 deletions
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")