@@ -16,6 +16,8 @@ assert.strictEqual(test_string.TestLatin1External(empty), empty);
1616assert . strictEqual ( test_string . TestUtf16External ( empty ) , empty ) ;
1717assert . strictEqual ( test_string . TestLatin1ExternalAutoLength ( empty ) , empty ) ;
1818assert . strictEqual ( test_string . TestUtf16ExternalAutoLength ( empty ) , empty ) ;
19+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( empty ) , empty ) ;
20+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( empty ) , empty ) ;
1921assert . strictEqual ( test_string . Utf16Length ( empty ) , 0 ) ;
2022assert . strictEqual ( test_string . Utf8Length ( empty ) , 0 ) ;
2123
@@ -33,6 +35,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str1), str1);
3335assert . strictEqual ( test_string . TestLatin1Insufficient ( str1 ) , str1 . slice ( 0 , 3 ) ) ;
3436assert . strictEqual ( test_string . TestUtf8Insufficient ( str1 ) , str1 . slice ( 0 , 3 ) ) ;
3537assert . 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 ) ;
3640assert . strictEqual ( test_string . Utf16Length ( str1 ) , 11 ) ;
3741assert . strictEqual ( test_string . Utf8Length ( str1 ) , 11 ) ;
3842
@@ -50,6 +54,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str2), str2);
5054assert . strictEqual ( test_string . TestLatin1Insufficient ( str2 ) , str2 . slice ( 0 , 3 ) ) ;
5155assert . strictEqual ( test_string . TestUtf8Insufficient ( str2 ) , str2 . slice ( 0 , 3 ) ) ;
5256assert . 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 ) ;
5359assert . strictEqual ( test_string . Utf16Length ( str2 ) , 62 ) ;
5460assert . strictEqual ( test_string . Utf8Length ( str2 ) , 62 ) ;
5561
@@ -67,6 +73,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str3), str3);
6773assert . strictEqual ( test_string . TestLatin1Insufficient ( str3 ) , str3 . slice ( 0 , 3 ) ) ;
6874assert . strictEqual ( test_string . TestUtf8Insufficient ( str3 ) , str3 . slice ( 0 , 3 ) ) ;
6975assert . 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 ) ;
7078assert . strictEqual ( test_string . Utf16Length ( str3 ) , 27 ) ;
7179assert . strictEqual ( test_string . Utf8Length ( str3 ) , 27 ) ;
7280
@@ -84,6 +92,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str4), str4);
8492assert . strictEqual ( test_string . TestLatin1Insufficient ( str4 ) , str4 . slice ( 0 , 3 ) ) ;
8593assert . strictEqual ( test_string . TestUtf8Insufficient ( str4 ) , str4 . slice ( 0 , 1 ) ) ;
8694assert . 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 ) ;
8797assert . strictEqual ( test_string . Utf16Length ( str4 ) , 31 ) ;
8898assert . strictEqual ( test_string . Utf8Length ( str4 ) , 62 ) ;
8999
@@ -101,6 +111,8 @@ assert.strictEqual(test_string.TestUtf16ExternalAutoLength(str5), str5);
101111assert . strictEqual ( test_string . TestLatin1Insufficient ( str5 ) , str5 . slice ( 0 , 3 ) ) ;
102112assert . strictEqual ( test_string . TestUtf8Insufficient ( str5 ) , str5 . slice ( 0 , 1 ) ) ;
103113assert . 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 ) ;
104116assert . strictEqual ( test_string . Utf16Length ( str5 ) , 63 ) ;
105117assert . strictEqual ( test_string . Utf8Length ( str5 ) , 126 ) ;
106118
@@ -113,6 +125,8 @@ assert.strictEqual(test_string.TestUtf16External(str6), str6);
113125assert . strictEqual ( test_string . TestUtf16ExternalAutoLength ( str6 ) , str6 ) ;
114126assert . strictEqual ( test_string . TestUtf8Insufficient ( str6 ) , str6 . slice ( 0 , 1 ) ) ;
115127assert . 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 ) ;
116130assert . strictEqual ( test_string . Utf16Length ( str6 ) , 5 ) ;
117131assert . strictEqual ( test_string . Utf8Length ( str6 ) , 14 ) ;
118132
0 commit comments