Skip to content

Commit 11fa426

Browse files
committed
fix: fix failing unit tests
1 parent 3e6310a commit 11fa426

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/parser/tokens.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ mod tests {
228228
PhpMethod::try_from("Drupal\\test\\TestClass::myMethod")
229229
.unwrap()
230230
.class_name
231+
.unwrap()
231232
.to_string()
232233
);
233234
assert_eq!(
@@ -241,6 +242,7 @@ mod tests {
241242
PhpMethod::try_from("'\\Drupal\\test\\TestClass::myMethod'")
242243
.unwrap()
243244
.class_name
245+
.unwrap()
244246
.to_string()
245247
);
246248
assert!(PhpMethod::try_from("invalid class").is_err());

0 commit comments

Comments
 (0)