aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariot Tsitoara <[email protected]>2022-08-22 08:22:21 +0000
committerGitHub <[email protected]>2022-08-22 08:22:21 +0000
commitbe4617f8a8775372042e2cfdc1a8bed4f7cf9a19 (patch)
treeaa6a23147984677ae2dccf4fbe1279f4051f2f49
parentremove 6th keyword (diff)
downloadchan-downloader-be4617f8a8775372042e2cfdc1a8bed4f7cf9a19.tar.xz
chan-downloader-be4617f8a8775372042e2cfdc1a8bed4f7cf9a19.zip
fix it_gets_page_content test
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index de43b93..11cea2c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -214,7 +214,7 @@ mod tests {
let client = Client::builder().user_agent("reqwest").build().unwrap();
let url = "https://raw.githubusercontent.com/mariot/chan-downloader/master/.gitignore";
let result = get_page_content(url, &client).await.unwrap();
- assert_eq!(result, "/target/\nCargo.lock\n**/*.rs.bk\n");
+ assert_eq!(result, "/target/\nCargo.lock\n**/*.rs.bk\n.idea/");
}
#[tokio::test]