Cursor generated unit tests

This commit is contained in:
Mike Farah
2025-10-12 15:38:40 +11:00
parent ff2c1c930c
commit 7f72595a12
12 changed files with 1636 additions and 8 deletions
-2
View File
@@ -312,7 +312,6 @@ func TestDeeplyAssign_ErrorHandling(t *testing.T) {
Value: "value",
}
// Try to assign to a path on a scalar (should fail)
path := []interface{}{"key"}
err := navigator.DeeplyAssign(context, path, assignNode)
@@ -321,7 +320,6 @@ func TestDeeplyAssign_ErrorHandling(t *testing.T) {
t.Logf("Actual error: %v", err)
}
// This should fail because we can't assign to a scalar
test.AssertResult(t, nil, err)
}