Skip to content

Commit 36e100b

Browse files
committed
gss-api: use __contents in test
1 parent e37e4a8 commit 36e100b

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

gss-api/src/negotiation.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -383,13 +383,7 @@ mod tests {
383383
);
384384
assert_eq!(
385385
b"not_defined_in_RFC4178@please_ignore",
386-
&neg_token
387-
.neg_hints
388-
.unwrap()
389-
.hint_name
390-
.unwrap()
391-
.__contents
392-
.as_bytes()
386+
&neg_token.neg_hints.unwrap().hint_name.unwrap().__contents
393387
);
394388
}
395389

0 commit comments

Comments
 (0)