Skip to content

Commit

Permalink
add issue event timeline deserialization test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xB10C committed Jun 1, 2023
1 parent 249dc61 commit aa4889c
Show file tree
Hide file tree
Showing 2 changed files with 746 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/issues_timeline_tests.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
use octocrab::{models::timelines::TimelineEvent};

#[tokio::test]
async fn should_deserialize() {
let _star_gazers: Vec<TimelineEvent> =
serde_json::from_str(include_str!("resources/issues_list_timeline_events.json")).unwrap();
}

Loading

0 comments on commit aa4889c

Please sign in to comment.