Skip to content

Commit ee853bb

Browse files
committed
update unit tests for type conversions
1 parent 9bbe73f commit ee853bb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/github_issue.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ mod tests {
408408
None,
409409
"my_org",
410410
"my_repo",
411-
Some(String::from("my issue")),
412-
Some(String::from("my body")),
411+
Some("my issue"),
412+
Some("my body"),
413413
Some(vec![String::from("label")]),
414414
Some(vec![String::from("assignee")]),
415415
None,
@@ -420,8 +420,8 @@ mod tests {
420420
pat: None,
421421
owner: "my_org",
422422
repo: "my_repo",
423-
title: Some(String::from("my issue")),
424-
body: Some(String::from("my body")),
423+
title: Some("my issue"),
424+
body: Some("my body"),
425425
labels: Some(vec![String::from("label")]),
426426
assignees: Some(vec![String::from("assignee")]),
427427
number: None,

0 commit comments

Comments
 (0)