From c18df2fbc55be1ee75460c215c086360f926ae51 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Wed, 18 Sep 2024 15:34:16 +0200 Subject: [PATCH] Rust: update expected output --- .../query-tests/diagnostics/LinesOfCode.expected | 2 +- .../query-tests/diagnostics/LinesOfUserCode.expected | 2 +- .../diagnostics/LinesOfUserCodeInFiles.expected | 12 ++++++------ .../query-tests/diagnostics/SummaryStats.expected | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/rust/ql/test/query-tests/diagnostics/LinesOfCode.expected b/rust/ql/test/query-tests/diagnostics/LinesOfCode.expected index cec53d5df7a23..3885b955c3f3f 100644 --- a/rust/ql/test/query-tests/diagnostics/LinesOfCode.expected +++ b/rust/ql/test/query-tests/diagnostics/LinesOfCode.expected @@ -1 +1 @@ -| 24 | +| 46 | diff --git a/rust/ql/test/query-tests/diagnostics/LinesOfUserCode.expected b/rust/ql/test/query-tests/diagnostics/LinesOfUserCode.expected index cec53d5df7a23..3885b955c3f3f 100644 --- a/rust/ql/test/query-tests/diagnostics/LinesOfUserCode.expected +++ b/rust/ql/test/query-tests/diagnostics/LinesOfUserCode.expected @@ -1 +1 @@ -| 24 | +| 46 | diff --git a/rust/ql/test/query-tests/diagnostics/LinesOfUserCodeInFiles.expected b/rust/ql/test/query-tests/diagnostics/LinesOfUserCodeInFiles.expected index bc80df02e774a..77f76dc8dfae3 100644 --- a/rust/ql/test/query-tests/diagnostics/LinesOfUserCodeInFiles.expected +++ b/rust/ql/test/query-tests/diagnostics/LinesOfUserCodeInFiles.expected @@ -1,6 +1,6 @@ -| my_struct.rs:0:0:0:0 | my_struct.rs | 11 | -| main.rs:0:0:0:0 | main.rs | 4 | -| my_macro.rs:0:0:0:0 | my_macro.rs | 4 | -| does_not_compile.rs:0:0:0:0 | does_not_compile.rs | 3 | -| error.rs:0:0:0:0 | error.rs | 2 | -| lib.rs:0:0:0:0 | lib.rs | 0 | +| my_struct.rs:0:0:0:0 | my_struct.rs | 21 | +| my_macro.rs:0:0:0:0 | my_macro.rs | 8 | +| lib.rs:0:0:0:0 | lib.rs | 7 | +| main.rs:0:0:0:0 | main.rs | 7 | +| error.rs:0:0:0:0 | error.rs | 3 | +| does_not_compile.rs:0:0:0:0 | does_not_compile.rs | 0 | diff --git a/rust/ql/test/query-tests/diagnostics/SummaryStats.expected b/rust/ql/test/query-tests/diagnostics/SummaryStats.expected index 03ea7f60b21f3..6356e37c40931 100644 --- a/rust/ql/test/query-tests/diagnostics/SummaryStats.expected +++ b/rust/ql/test/query-tests/diagnostics/SummaryStats.expected @@ -1,5 +1,5 @@ -| Elements extracted | 61 | -| Elements unextracted | 26 | +| Elements extracted | 167 | +| Elements unextracted | 0 | | Files extracted | 6 | -| Lines of code extracted | 24 | -| Lines of user code extracted | 24 | +| Lines of code extracted | 46 | +| Lines of user code extracted | 46 |