From de3c334a52018665dc184e39b03bd7f7d2e1cff5 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 5 Dec 2023 22:34:11 +0900 Subject: [PATCH] Update generated reports to nightly-2023-12-05 --- .../coverage-reports/merge/merge.codecov.json | 2 +- .../merge/merge.hide-instantiations.txt | 4 ++-- .../coverage-reports/merge/merge.json | 12 +++++----- .../coverage-reports/merge/merge.lcov.info | 4 ++-- .../coverage-reports/merge/merge.summary.txt | 4 ++-- .../fixtures/coverage-reports/merge/merge.txt | 24 +++++++++---------- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/tests/fixtures/coverage-reports/merge/merge.codecov.json b/tests/fixtures/coverage-reports/merge/merge.codecov.json index 4c6f174d..cadafe88 100644 --- a/tests/fixtures/coverage-reports/merge/merge.codecov.json +++ b/tests/fixtures/coverage-reports/merge/merge.codecov.json @@ -1 +1 @@ -{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"1/1","5":"1/1","7":"1/1","9":"1/1","10":"1/1","12":"1/2","14":"2/2","15":"1/1"}}} \ No newline at end of file +{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"1/1","5":"1/1","7":"1/1","9":"1/1","10":"2/2","11":"1/1","12":"2/3","13":"1/1","14":"2/2","15":"1/1"}}} \ No newline at end of file diff --git a/tests/fixtures/coverage-reports/merge/merge.hide-instantiations.txt b/tests/fixtures/coverage-reports/merge/merge.hide-instantiations.txt index e01f4bd2..7e565fa5 100644 --- a/tests/fixtures/coverage-reports/merge/merge.hide-instantiations.txt +++ b/tests/fixtures/coverage-reports/merge/merge.hide-instantiations.txt @@ -8,9 +8,9 @@ 8| | 9| 2|#[test] 10| 2|fn test() { - 11| | #[cfg(feature = "a")] + 11| 1| #[cfg(feature = "a")] 12| 1| assert!(!func(1)); ^0 - 13| | #[cfg(feature = "b")] + 13| 1| #[cfg(feature = "b")] 14| 1| assert!(func(-1)); 15| 2|} \ No newline at end of file diff --git a/tests/fixtures/coverage-reports/merge/merge.json b/tests/fixtures/coverage-reports/merge/merge.json index 12334071..9590d2ac 100644 --- a/tests/fixtures/coverage-reports/merge/merge.json +++ b/tests/fixtures/coverage-reports/merge/merge.json @@ -22,9 +22,9 @@ "percent": 100.0 }, "lines": { - "count": 9, - "covered": 8, - "percent": 88.88888888888889 + "count": 12, + "covered": 11, + "percent": 91.66666666666666 }, "regions": { "count": 9, @@ -53,9 +53,9 @@ "percent": 100 }, "lines": { - "count": 9, - "covered": 8, - "percent": 88.88888888888889 + "count": 12, + "covered": 11, + "percent": 91.66666666666666 }, "regions": { "count": 9, diff --git a/tests/fixtures/coverage-reports/merge/merge.lcov.info b/tests/fixtures/coverage-reports/merge/merge.lcov.info index 4fc357b8..33741b5a 100644 --- a/tests/fixtures/coverage-reports/merge/merge.lcov.info +++ b/tests/fixtures/coverage-reports/merge/merge.lcov.info @@ -3,6 +3,6 @@ FNF:3 FNH:3 BRF:0 BRH:0 -LF:9 -LH:8 +LF:12 +LH:11 end_of_record \ No newline at end of file diff --git a/tests/fixtures/coverage-reports/merge/merge.summary.txt b/tests/fixtures/coverage-reports/merge/merge.summary.txt index 123baae3..f40786cb 100644 --- a/tests/fixtures/coverage-reports/merge/merge.summary.txt +++ b/tests/fixtures/coverage-reports/merge/merge.summary.txt @@ -1,5 +1,5 @@ Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover Branches Missed Branches Cover ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -src/lib.rs 9 1 88.89% 3 0 100.00% 9 1 88.89% 0 0 - +src/lib.rs 9 1 88.89% 3 0 100.00% 12 1 91.67% 0 0 - ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -TOTAL 9 1 88.89% 3 0 100.00% 9 1 88.89% 0 0 - \ No newline at end of file +TOTAL 9 1 88.89% 3 0 100.00% 12 1 91.67% 0 0 - \ No newline at end of file diff --git a/tests/fixtures/coverage-reports/merge/merge.txt b/tests/fixtures/coverage-reports/merge/merge.txt index 36395102..5479bb41 100644 --- a/tests/fixtures/coverage-reports/merge/merge.txt +++ b/tests/fixtures/coverage-reports/merge/merge.txt @@ -9,18 +9,18 @@ | merge::func: | 1| 1|fn func(x: i32) -> bool { | 2| 1| if x < 0 { - | 3| 1| true + | 3| 0| true | 4| | } else { - | 5| 0| false + | 5| 1| false | 6| | } | 7| 1|} ------------------ | merge::func: | 1| 1|fn func(x: i32) -> bool { | 2| 1| if x < 0 { - | 3| 0| true + | 3| 1| true | 4| | } else { - | 5| 1| false + | 5| 0| false | 6| | } | 7| 1|} ------------------ @@ -34,27 +34,27 @@ | 9| 1|#[test] ------------------ 10| 2|fn test() { - 11| | #[cfg(feature = "a")] + 11| 1| #[cfg(feature = "a")] 12| 1| assert!(!func(1)); ^0 - 13| | #[cfg(feature = "b")] + 13| 1| #[cfg(feature = "b")] 14| 1| assert!(func(-1)); 15| 2|} ------------------ | merge::test: | 10| 1|fn test() { | 11| | #[cfg(feature = "a")] - | 12| | assert!(!func(1)); + | 12| 1| assert!(!func(1)); + | ^0 | 13| | #[cfg(feature = "b")] - | 14| 1| assert!(func(-1)); + | 14| | assert!(func(-1)); | 15| 1|} ------------------ | merge::test: | 10| 1|fn test() { - | 11| | #[cfg(feature = "a")] + | 11| 1| #[cfg(feature = "a")] | 12| 1| assert!(!func(1)); - | ^0 - | 13| | #[cfg(feature = "b")] - | 14| | assert!(func(-1)); + | 13| 1| #[cfg(feature = "b")] + | 14| 1| assert!(func(-1)); | 15| 1|} ------------------ \ No newline at end of file