Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: godot-rust/gdext
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b1390df074ec0372a1246cb4e3a287ead70dc915
Choose a base ref
..
head repository: godot-rust/gdext
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ea482005b22ff7e6a90cd066aa4da2456fe7d512
Choose a head ref
Showing with 4 additions and 3 deletions.
  1. +4 −3 itest/rust/src/builtin_tests/string/string_name_test.rs
7 changes: 4 additions & 3 deletions itest/rust/src/builtin_tests/string/string_name_test.rs
Original file line number Diff line number Diff line change
@@ -59,6 +59,7 @@ fn string_name_equality() {
}

#[itest]
#[allow(clippy::eq_op)]
fn string_name_transient_ord() {
// We can't deterministically know the ordering, so this test only ensures consistency between different operators.
let low = StringName::from("Alpha");
@@ -77,9 +78,9 @@ fn string_name_transient_ord() {
assert!(high >= low);

// Check PartialEq/Eq relation.
assert_eq!(low, low);
assert_ne!(low, high);
assert_eq!(high, high);
assert!(low == low);
assert!(low != high);
assert!(high == high);
}

#[itest]