@@ -16,6 +16,8 @@ assert.strictEqual(test_string.TestLatin1External(empty), empty);
16
16
assert . strictEqual ( test_string . TestUtf16External ( empty ) , empty ) ;
17
17
assert . strictEqual ( test_string . TestLatin1ExternalAutoLength ( empty ) , empty ) ;
18
18
assert . strictEqual ( test_string . TestUtf16ExternalAutoLength ( empty ) , empty ) ;
19
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( empty ) , empty ) ;
20
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( empty ) , empty ) ;
19
21
assert . strictEqual ( test_string . Utf16Length ( empty ) , 0 ) ;
20
22
assert . strictEqual ( test_string . Utf8Length ( empty ) , 0 ) ;
21
23
@@ -33,6 +35,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str1), str1);
33
35
assert . strictEqual ( test_string . TestLatin1Insufficient ( str1 ) , str1 . slice ( 0 , 3 ) ) ;
34
36
assert . strictEqual ( test_string . TestUtf8Insufficient ( str1 ) , str1 . slice ( 0 , 3 ) ) ;
35
37
assert . strictEqual ( test_string . TestUtf16Insufficient ( str1 ) , str1 . slice ( 0 , 3 ) ) ;
38
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str1 ) , str1 ) ;
39
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str1 ) , str1 ) ;
36
40
assert . strictEqual ( test_string . Utf16Length ( str1 ) , 11 ) ;
37
41
assert . strictEqual ( test_string . Utf8Length ( str1 ) , 11 ) ;
38
42
@@ -50,6 +54,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str2), str2);
50
54
assert . strictEqual ( test_string . TestLatin1Insufficient ( str2 ) , str2 . slice ( 0 , 3 ) ) ;
51
55
assert . strictEqual ( test_string . TestUtf8Insufficient ( str2 ) , str2 . slice ( 0 , 3 ) ) ;
52
56
assert . strictEqual ( test_string . TestUtf16Insufficient ( str2 ) , str2 . slice ( 0 , 3 ) ) ;
57
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str2 ) , str2 ) ;
58
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str2 ) , str2 ) ;
53
59
assert . strictEqual ( test_string . Utf16Length ( str2 ) , 62 ) ;
54
60
assert . strictEqual ( test_string . Utf8Length ( str2 ) , 62 ) ;
55
61
@@ -67,6 +73,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str3), str3);
67
73
assert . strictEqual ( test_string . TestLatin1Insufficient ( str3 ) , str3 . slice ( 0 , 3 ) ) ;
68
74
assert . strictEqual ( test_string . TestUtf8Insufficient ( str3 ) , str3 . slice ( 0 , 3 ) ) ;
69
75
assert . strictEqual ( test_string . TestUtf16Insufficient ( str3 ) , str3 . slice ( 0 , 3 ) ) ;
76
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str3 ) , str3 ) ;
77
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str3 ) , str3 ) ;
70
78
assert . strictEqual ( test_string . Utf16Length ( str3 ) , 27 ) ;
71
79
assert . strictEqual ( test_string . Utf8Length ( str3 ) , 27 ) ;
72
80
@@ -84,6 +92,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str4), str4);
84
92
assert . strictEqual ( test_string . TestLatin1Insufficient ( str4 ) , str4 . slice ( 0 , 3 ) ) ;
85
93
assert . strictEqual ( test_string . TestUtf8Insufficient ( str4 ) , str4 . slice ( 0 , 1 ) ) ;
86
94
assert . strictEqual ( test_string . TestUtf16Insufficient ( str4 ) , str4 . slice ( 0 , 3 ) ) ;
95
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str4 ) , str4 ) ;
96
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str4 ) , str4 ) ;
87
97
assert . strictEqual ( test_string . Utf16Length ( str4 ) , 31 ) ;
88
98
assert . strictEqual ( test_string . Utf8Length ( str4 ) , 62 ) ;
89
99
@@ -101,6 +111,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str5), str5);
101
111
assert . strictEqual ( test_string . TestLatin1Insufficient ( str5 ) , str5 . slice ( 0 , 3 ) ) ;
102
112
assert . strictEqual ( test_string . TestUtf8Insufficient ( str5 ) , str5 . slice ( 0 , 1 ) ) ;
103
113
assert . strictEqual ( test_string . TestUtf16Insufficient ( str5 ) , str5 . slice ( 0 , 3 ) ) ;
114
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str5 ) , str5 ) ;
115
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str5 ) , str5 ) ;
104
116
assert . strictEqual ( test_string . Utf16Length ( str5 ) , 63 ) ;
105
117
assert . strictEqual ( test_string . Utf8Length ( str5 ) , 126 ) ;
106
118
@@ -113,6 +125,8 @@ assert.strictEqual(test_string.TestUtf16External(str6), str6);
113
125
assert . strictEqual ( test_string . TestUtf16ExternalAutoLength ( str6 ) , str6 ) ;
114
126
assert . strictEqual ( test_string . TestUtf8Insufficient ( str6 ) , str6 . slice ( 0 , 1 ) ) ;
115
127
assert . strictEqual ( test_string . TestUtf16Insufficient ( str6 ) , str6 . slice ( 0 , 3 ) ) ;
128
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str6 ) , str6 ) ;
129
+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str6 ) , str6 ) ;
116
130
assert . strictEqual ( test_string . Utf16Length ( str6 ) , 5 ) ;
117
131
assert . strictEqual ( test_string . Utf8Length ( str6 ) , 14 ) ;
118
132
0 commit comments