From 9d2b0c6ff95a65c241cf039e82ece7d34c31abc5 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 13 Oct 2019 11:27:59 -0400 Subject: Update HTML gold tests --- tests/gold/html/bom/2/bom_py.html | 45 +++++++++++---------------------------- tests/gold/html/bom/2/index.html | 4 ++-- tests/gold/html/bom/bom_py.html | 45 +++++++++++---------------------------- tests/gold/html/bom/index.html | 4 ++-- 4 files changed, 30 insertions(+), 68 deletions(-) (limited to 'tests/gold/html/bom') diff --git a/tests/gold/html/bom/2/bom_py.html b/tests/gold/html/bom/2/bom_py.html index 5cab9622..bd4afd06 100644 --- a/tests/gold/html/bom/2/bom_py.html +++ b/tests/gold/html/bom/2/bom_py.html @@ -51,42 +51,23 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-
-

# A Python source file in utf-8, with BOM. 

-

math = "3×4 = 12, ÷2 = 6±0" 

-

 

-

import sys 

-

 

-

if sys.version_info >= (3, 0): 

-

assert len(math) == 18 

-

assert len(math.encode('utf-8')) == 21 

-

else: 

-

assert len(math) == 21 

-

assert len(math.decode('utf-8')) == 18 

-
+

1# A Python source file in utf-8, with BOM. 

+

2math = "3×4 = 12, ÷2 = 6±0" 

+

3 

+

4import sys 

+

5 

+

6if sys.version_info >= (3, 0): 

+

7 assert len(math) == 18 

+

8 assert len(math.encode('utf-8')) == 21 

+

9else: 

+

10 assert len(math) == 21 

+

11 assert len(math.decode('utf-8')) == 18 

diff --git a/tests/gold/html/bom/2/index.html b/tests/gold/html/bom/2/index.html index bde4bb46..3fa67f0f 100644 --- a/tests/gold/html/bom/2/index.html +++ b/tests/gold/html/bom/2/index.html @@ -75,8 +75,8 @@ diff --git a/tests/gold/html/bom/bom_py.html b/tests/gold/html/bom/bom_py.html index 3395c3bd..0ef14599 100644 --- a/tests/gold/html/bom/bom_py.html +++ b/tests/gold/html/bom/bom_py.html @@ -51,42 +51,23 @@
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-
-

# A Python source file in utf-8, with BOM. 

-

math = "3×4 = 12, ÷2 = 6±0" 

-

 

-

import sys 

-

 

-

if sys.version_info >= (3, 0): 

-

assert len(math) == 18 

-

assert len(math.encode('utf-8')) == 21 

-

else: 

-

assert len(math) == 21 

-

assert len(math.decode('utf-8')) == 18 

-
+

1# A Python source file in utf-8, with BOM. 

+

2math = "3×4 = 12, ÷2 = 6±0" 

+

3 

+

4import sys 

+

5 

+

6if sys.version_info >= (3, 0): 

+

7 assert len(math) == 18 

+

8 assert len(math.encode('utf-8')) == 21 

+

9else: 

+

10 assert len(math) == 21 

+

11 assert len(math.decode('utf-8')) == 18 

diff --git a/tests/gold/html/bom/index.html b/tests/gold/html/bom/index.html index 4c4d9897..6b87a5bc 100644 --- a/tests/gold/html/bom/index.html +++ b/tests/gold/html/bom/index.html @@ -75,8 +75,8 @@ -- cgit v1.2.1