Skip to content

Commit 1841cba

Browse files
committed
Use new error msg from precondition_index_in_range in tests
1 parent c2cd0dc commit 1841cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geometry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3149,7 +3149,7 @@ mod tests {
31493149
// With "start" or "end" point not in [-1; 1]
31503150
assert_eq!(
31513151
g.line_substring(-2., 0.2).err().unwrap().to_string(),
3152-
"Obtained null pointer when creating geometry: SFCGAL::algorithm::lineSubstring: start value out of range."
3152+
"Index not in the expected range"
31533153
);
31543154
}
31553155

0 commit comments

Comments
 (0)