You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,8 @@ Fix: prevent accidental nested `FuncCall` by inspecting and unwrapping recursive
136
136
137
137
## Custom testing strategy
138
138
139
+
Parse the any deparsed or pretty-formatted SQL back and verify the AST matches the original. This ensures the formatting doesn't break the SQL semantics.
140
+
139
141
Please review the test utilities — note that exact SQL string equality is not required. The focus is on comparing the resulting ASTs.
140
142
141
143
Refer to `expectAstMatch` to understand how correctness is validated.
0 commit comments