summaryrefslogtreecommitdiff
path: root/cross-project-tests
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2022-06-13 19:03:55 +0100
committerStephen Tozer <stephen.tozer@sony.com>2022-06-13 19:07:18 +0100
commitec7c959671e80a0853d23e7b5d099b4361619ece (patch)
tree1a0b622483382d9e0a57f89d2593bb11cd168f8e /cross-project-tests
parent224094eb447f8d5691ec65f5f53c5a6d085c2e2f (diff)
downloadllvm-ec7c959671e80a0853d23e7b5d099b4361619ece.tar.gz
[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.
Diffstat (limited to 'cross-project-tests')
-rw-r--r--cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp2
-rw-r--r--cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp2
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'))