summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-08-20 09:12:59 +0100
committerNoel Power <noel.power@suse.com>2013-08-20 09:12:59 +0100
commitfbf8ae82411d56189f844f9f00ccc6cf6b0827bf (patch)
treee7c23c0bac9a993be7c8c691bce381302ec768d8 /basic
parent4c9a08e78b6e2c5d19628281bd4141c268299bea (diff)
fix for fdo#62323 fix duplicated and wrong tests
Change-Id: I73dc238f7de59367a0a9d00e5421ea6675b4f556
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb4
-rw-r--r--basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb4
2 files changed, 4 insertions, 4 deletions
diff --git a/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb b/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb
index f33d74cf8dd9..c660486a5618 100644
--- a/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb
+++ b/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb
@@ -9,8 +9,8 @@
Function doUnitTest as Integer
Dim lngDecimal as Long
- lngDecimal = Clng(&HFFFFFFFF)
- If lngDecimal = -1 Then
+ lngDecimal = Clng(&H80000000)
+ If lngDecimal = -2147483648 Then
doUnitTest = 1
Else
doUnitTest = 0
diff --git a/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb b/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
index c660486a5618..a03dadc42095 100644
--- a/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
+++ b/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
@@ -9,8 +9,8 @@
Function doUnitTest as Integer
Dim lngDecimal as Long
- lngDecimal = Clng(&H80000000)
- If lngDecimal = -2147483648 Then
+ lngDecimal = Clng(&H7FFFFFFF)
+ If lngDecimal = 2147483647 Then
doUnitTest = 1
Else
doUnitTest = 0