Skip to content

Commit bc72883

Browse files
Update .agent/rules/porting.mdc
Co-authored-by: mihaimitrea-db <mihai.mitrea@databricks.com>
1 parent c92ac91 commit bc72883

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.agent/rules/porting.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const goString = z.string().nullish().transform(v => v ?? '');
7979
explicit opt-in for features that TypeScript provides natively. For example,
8080
Go requires an explicit `Unwrap() error` method for error chain traversal;
8181
TypeScript gets this for free via `Error.cause`. Do not port such code.
82-
2. **Does the test test our code or the language?** If a Go test verifies
82+
2. **Does the test validate our code or the language?** If a Go test verifies
8383
behaviour that is built into the TypeScript runtime (e.g. that `Error.cause`
8484
preserves a reference), skip it — it tests the language, not our
8585
implementation. Explain the skip to the user.

0 commit comments

Comments
 (0)