FIX: Correct coverage url

Also improves code coverage by removing code
This commit is contained in:
Nicolás Hatcher
2024-02-13 16:36:50 +01:00
parent 9b44943918
commit 0519c38637
2 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
[![MIT licensed][mit-badge]][mit-url]
[![Apache 2.0 licensed][apache-badge]][apache-url]
[![Build Status][actions-badge]][actions-url]
[![codecov][codecov-badge]][codecov-url]
[![Code coverage][codecov-badge]][codecov-url]
[![docs-badge]][docs-url]
[![Discord chat][discord-badge]][discord-url]
@@ -14,7 +14,7 @@
[apache-url]: https://github.com/ironcalc/IronCalc/blob/main/LICENSE-Apache-2.0
[codecov-badge]: https://codecov.io/gh/ironcalc/IronCalc/graph/badge.svg?token=ASJX12CHNR
[codecov-url]: (https://codecov.io/gh/ironcalc/IronCalc)
[codecov-url]: https://codecov.io/gh/ironcalc/IronCalc
[actions-badge]: https://github.com/ironcalc/ironcalc/actions/workflows/rust-build-test.yaml/badge.svg
[actions-url]: https://github.com/ironcalc/IronCalc/actions/workflows/rust-build-test.yaml?query=workflow%3ARust+branch%3Amain

View File

@@ -20,7 +20,7 @@ use super::{
util::{get_attribute, get_color, get_number},
};
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize)]
pub(crate) struct Sheet {
pub(crate) name: String,
pub(crate) sheet_id: u32,
@@ -28,13 +28,13 @@ pub(crate) struct Sheet {
pub(crate) state: SheetState,
}
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize)]
pub(crate) struct WorkbookXML {
pub(crate) worksheets: Vec<Sheet>,
pub(crate) defined_names: Vec<DefinedName>,
}
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize)]
pub(crate) struct Relationship {
pub(crate) target: String,
pub(crate) rel_type: String,
@@ -183,7 +183,7 @@ fn load_comments<R: Read + std::io::Seek>(
Ok(comments)
}
#[derive(Error, Debug, PartialEq, Eq)]
#[derive(Error, Debug, PartialEq)]
enum ParseReferenceError {
#[error("RowError: {0}")]
RowError(ParseIntError),