Skip to content

Commit

Permalink
Merge pull request #90744 from smix8/test_region_rid
Browse files Browse the repository at this point in the history
Update NavigationRegion tests RID function
  • Loading branch information
akien-mga committed Apr 16, 2024
2 parents 0ae1dcc + cbf8814 commit 658e97c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/scene/test_navigation_region_2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace TestNavigationRegion2D {
TEST_SUITE("[Navigation]") {
TEST_CASE("[SceneTree][NavigationRegion2D] New region should have valid RID") {
NavigationRegion2D *region_node = memnew(NavigationRegion2D);
CHECK(region_node->get_region_rid().is_valid());
CHECK(region_node->get_rid().is_valid());
memdelete(region_node);
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/scene/test_navigation_region_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace TestNavigationRegion3D {
TEST_SUITE("[Navigation]") {
TEST_CASE("[SceneTree][NavigationRegion3D] New region should have valid RID") {
NavigationRegion3D *region_node = memnew(NavigationRegion3D);
CHECK(region_node->get_region_rid().is_valid());
CHECK(region_node->get_rid().is_valid());
memdelete(region_node);
}

Expand Down

0 comments on commit 658e97c

Please sign in to comment.