Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Beastwick18 committed Jun 6, 2024
1 parent 2e19d53 commit 72aa4ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/popups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ async fn test_sort() {
assert_eq!(
reset_buffer(&run_app(sync, 60, 22).await.unwrap()),
Buffer::with_lines([
r#"┌Search──────────────────────────────Pre│Sort by "Seeders"│┐"#,
r#"│ ─────────────────┘│"#,
r#"┌Search──────────────────────│Sort by "Seeders" Descending│┐"#,
r#"│ └────────────────────────────┘│"#,
r#"└──────────────────────────────────────────────────────────┘"#,
r#"┌Results 1-0 (0 total): Page 1/0─dl: Run Command, src: Nyaa┐"#,
r#"│ │"#,
Expand Down Expand Up @@ -140,8 +140,8 @@ async fn test_sort_reverse() {
assert_eq!(
reset_buffer(&run_app(sync, 60, 22).await.unwrap()),
Buffer::with_lines([
r#"┌Search──────────────────────────────Pre│Sort by "Seeders"│┐"#,
r#"│ ─────────────────┘│"#,
r#"┌Search───────────────────────│Sort by "Seeders" Ascending│┐"#,
r#"│ └───────────────────────────┘│"#,
r#"└──────────────────────────────────────────────────────────┘"#,
r#"┌Results 1-0 (0 total): Page 1/0─dl: Run Command, src: Nyaa┐"#,
r#"│ │"#,
Expand Down

0 comments on commit 72aa4ea

Please sign in to comment.