cultcache-rs tests: a depth refusal through the cache names the entry type, not the C# type name
Builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4482e297cf
commit
94f61a14f6
1 changed files with 3 additions and 1 deletions
|
|
@ -604,7 +604,9 @@ fn bounds_vectors() {
|
|||
"refused" => {
|
||||
refused += 1;
|
||||
let message = result.expect_err(file);
|
||||
assert!(message.contains(union), "{file}: {message}");
|
||||
// The cache path names the entry type in its context; the union names itself.
|
||||
let names = if union == "UnionSurface" { UnionSurface::TYPE } else { union };
|
||||
assert!(message.contains(names), "{file}: {message}");
|
||||
let class = match detail {
|
||||
"key-out-of-range" => "outside Int32",
|
||||
"key-not-integer" => "non-integer",
|
||||
|
|
|
|||
Loading…
Reference in a new issue