Skip to content

A fast, helpful, and open-source document parser

chore: apply formatting

Clelia (Astra) Bertellic4c3a04e5793
diff --git a/crates/liteparse/tests/integration_test.rs b/crates/liteparse/tests/integration_test.rs
index bca611a..50a2702 100644
--- a/crates/liteparse/tests/integration_test.rs
+++ b/crates/liteparse/tests/integration_test.rs
@@ -9,7 +9,9 @@ use serial_test::serial;
#[serial]
async fn test_convert_data_to_pdf_integration() {
let env_var = std::env::var("SKIP_INTEGRATION_TESTS");
- if let Ok(v) = env_var && v == "yes" {
+ if let Ok(v) = env_var
+ && v == "yes"
+ {
return;
}
let fixture_path = "../../integration_tests_data/receipt.png";
@@ -26,7 +28,9 @@ async fn test_convert_data_to_pdf_integration() {
#[serial]
async fn test_parse_bytes_image_integration() {
let env_var = std::env::var("SKIP_INTEGRATION_TESTS");
- if let Ok(v) = env_var && v == "yes" {
+ if let Ok(v) = env_var
+ && v == "yes"
+ {
return;
}
let fixture_path = "../../integration_tests_data/receipt.png";
@@ -46,7 +50,9 @@ async fn test_parse_bytes_image_integration() {
#[serial]
async fn test_parse_bytes_office_integration() {
let env_var = std::env::var("SKIP_INTEGRATION_TESTS");
- if let Ok(v) = env_var && v == "yes" {
+ if let Ok(v) = env_var
+ && v == "yes"
+ {
return;
}
let fixture_path = "../../integration_tests_data/sample3.doc";
@@ -66,7 +72,9 @@ async fn test_parse_bytes_office_integration() {
#[serial]
async fn test_parse_image_integration() {
let env_var = std::env::var("SKIP_INTEGRATION_TESTS");
- if let Ok(v) = env_var && v == "yes" {
+ if let Ok(v) = env_var
+ && v == "yes"
+ {
return;
}
let lit = LiteParse::new(LiteParseConfig::default());
@@ -81,7 +89,9 @@ async fn test_parse_image_integration() {
#[serial]
async fn test_parse_office_doc_integration() {
let env_var = std::env::var("SKIP_INTEGRATION_TESTS");
- if let Ok(v) = env_var && v == "yes" {
+ if let Ok(v) = env_var
+ && v == "yes"
+ {
return;
}
let lit = LiteParse::new(LiteParseConfig::default());