Skip to content

Commit

Permalink
😡 im killing myself
Browse files Browse the repository at this point in the history
  • Loading branch information
Shell1010 committed Jan 20, 2024
1 parent 8f5d16b commit e5bc699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lines/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mod tests {
use crate::{client::Client, datastructs::DataStruct};
#[test]
fn search_test() {
// Does test for search/query
let resp = Client::new("abcd1234").query("205").fetch().unwrap();
if let DataStruct::QuerySearch(data) = resp {
assert!("Tfl.Api.Presentation.Entities.RouteSearchResponse, Tfl.Api.Presentation.Entities" == data.type_field, "Type Returned: {}", data.type_field)
Expand Down

0 comments on commit e5bc699

Please sign in to comment.