[recipes] Update expected results for number tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Update expected results for number tests
- Date: Mon, 26 Dec 2016 14:06:18 +0000 (UTC)
commit 7db94589575c14726b3772ca11b2cf1dc8138c6e
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 26 08:48:31 2016 -0500
Update expected results for number tests
The handling of invalid fractions has changed, we now
print them as an empty string.
tests/number-data/number1.expected | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/number-data/number1.expected b/tests/number-data/number1.expected
index 8adac4d..dce99ce 100644
--- a/tests/number-data/number1.expected
+++ b/tests/number-data/number1.expected
@@ -60,7 +60,7 @@ FRACTION 1
NUMERATOR 1
DENOMINATOR 0
VALUE inf
-FORMATTED '1/0'
+FORMATTED ''
INPUT '1/-1'
REST ''
@@ -387,10 +387,10 @@ REST '--2'
ERROR Could not parse --2 as a number
INPUT '10 11.12'
-REST ' 11.12'
-FRACTION 0
-NUMERATOR 0
-DENOMINATOR 0
+REST '11.12'
+FRACTION 1
+NUMERATOR 10
+DENOMINATOR 1
VALUE 10
FORMATTED '10'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]