Skip to content

Commit a30f427

Browse files
murali-dbclaude
andcommitted
Add breaking changes check to test_ancestor_filtering_with_mixed_changes
Verify that adding a non-nullable struct correctly reports as a breaking change in the ancestor filtering test with mixed changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8caa83d commit a30f427

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernel/src/schema/diff.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,9 @@ mod tests {
12021202
assert!(paths.contains(&ColumnName::new(["existing_struct"])));
12031203
assert!(paths.contains(&ColumnName::new(["existing_struct", "new_name"])));
12041204

1205+
// Added a non-nullable struct "new_struct"
1206+
assert!(diff.has_breaking_changes());
1207+
12051208
// nested_field should NOT appear as added since new_struct is its ancestor
12061209
}
12071210

0 commit comments

Comments
 (0)