aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing.odin b/src/testing/testing.odin
index 0d97870..2e020e1 100644
--- a/src/testing/testing.odin
+++ b/src/testing/testing.odin
@@ -366,7 +366,7 @@ expect_definition_locations :: proc(
for expect_location, i in expect_locations {
for location, j in locations {
- if location == expect_location {
+ if location.range == expect_location.range {
flags[i] += 1
}
}
@@ -377,7 +377,7 @@ expect_definition_locations :: proc(
testing.errorf(
t,
"Expected location %v, but received %v",
- expect_locations[i],
+ expect_locations[i].range,
locations,
)
}