From ec7c959671e80a0853d23e7b5d099b4361619ece Mon Sep 17 00:00:00 2001 From: Stephen Tozer Date: Mon, 13 Jun 2022 19:03:55 +0100 Subject: [PATCH] [Dexter] Fix incorrect test expectations for floating point tests A pair of tests had incorrect expectations set, one being an off-by-one error and the other using decimal points in the expect that lldb omits. --- .../commands/perfect/float_range_watch/float_range_multiple.cpp | 2 +- .../commands/perfect/float_range_watch/float_range_no_arg.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp index 5ca1c7425a18..0d7e1f69a3c1 100644 --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp @@ -15,4 +15,4 @@ int main() { return a; //DexLabel('check2') } -// DexExpectWatchValue('a', '1.0', '100.0', from_line=ref('check1'), to_line=ref('check2'), float_range=0.5) +// DexExpectWatchValue('a', '1.0', '101.0', from_line=ref('check1'), to_line=ref('check2'), float_range=0.5) diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp index b9e1d229f198..e734cc2681dd 100644 --- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp +++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp @@ -13,4 +13,4 @@ int main() { return a; //DexLabel('check') } -// DexExpectWatchValue('a', '1.00000', on_line=ref('check')) +// DexExpectWatchValue('a', '1', on_line=ref('check'))