@@ -14,6 +14,8 @@ module.exports = function test (test_string) {
1414 assert . strictEqual ( test_string . TestUtf16External ( empty ) , empty )
1515 assert . strictEqual ( test_string . TestLatin1ExternalAutoLength ( empty ) , empty )
1616 assert . strictEqual ( test_string . TestUtf16ExternalAutoLength ( empty ) , empty )
17+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( empty ) , empty )
18+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( empty ) , empty )
1719 assert . strictEqual ( test_string . Utf16Length ( empty ) , 0 )
1820 assert . strictEqual ( test_string . Utf8Length ( empty ) , 0 )
1921
@@ -31,6 +33,8 @@ module.exports = function test (test_string) {
3133 assert . strictEqual ( test_string . TestLatin1Insufficient ( str1 ) , str1 . slice ( 0 , 3 ) )
3234 assert . strictEqual ( test_string . TestUtf8Insufficient ( str1 ) , str1 . slice ( 0 , 3 ) )
3335 assert . strictEqual ( test_string . TestUtf16Insufficient ( str1 ) , str1 . slice ( 0 , 3 ) )
36+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str1 ) , str1 )
37+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str1 ) , str1 )
3438 assert . strictEqual ( test_string . Utf16Length ( str1 ) , 11 )
3539 assert . strictEqual ( test_string . Utf8Length ( str1 ) , 11 )
3640
@@ -48,6 +52,8 @@ module.exports = function test (test_string) {
4852 assert . strictEqual ( test_string . TestLatin1Insufficient ( str2 ) , str2 . slice ( 0 , 3 ) )
4953 assert . strictEqual ( test_string . TestUtf8Insufficient ( str2 ) , str2 . slice ( 0 , 3 ) )
5054 assert . strictEqual ( test_string . TestUtf16Insufficient ( str2 ) , str2 . slice ( 0 , 3 ) )
55+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str2 ) , str2 )
56+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str2 ) , str2 )
5157 assert . strictEqual ( test_string . Utf16Length ( str2 ) , 62 )
5258 assert . strictEqual ( test_string . Utf8Length ( str2 ) , 62 )
5359
@@ -65,6 +71,8 @@ module.exports = function test (test_string) {
6571 assert . strictEqual ( test_string . TestLatin1Insufficient ( str3 ) , str3 . slice ( 0 , 3 ) )
6672 assert . strictEqual ( test_string . TestUtf8Insufficient ( str3 ) , str3 . slice ( 0 , 3 ) )
6773 assert . strictEqual ( test_string . TestUtf16Insufficient ( str3 ) , str3 . slice ( 0 , 3 ) )
74+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str3 ) , str3 )
75+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str3 ) , str3 )
6876 assert . strictEqual ( test_string . Utf16Length ( str3 ) , 27 )
6977 assert . strictEqual ( test_string . Utf8Length ( str3 ) , 27 )
7078
@@ -82,6 +90,8 @@ module.exports = function test (test_string) {
8290 assert . strictEqual ( test_string . TestLatin1Insufficient ( str4 ) , str4 . slice ( 0 , 3 ) )
8391 assert . strictEqual ( test_string . TestUtf8Insufficient ( str4 ) , str4 . slice ( 0 , 1 ) )
8492 assert . strictEqual ( test_string . TestUtf16Insufficient ( str4 ) , str4 . slice ( 0 , 3 ) )
93+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str4 ) , str4 )
94+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str4 ) , str4 )
8595 assert . strictEqual ( test_string . Utf16Length ( str4 ) , 31 )
8696 assert . strictEqual ( test_string . Utf8Length ( str4 ) , 62 )
8797
@@ -99,6 +109,8 @@ module.exports = function test (test_string) {
99109 assert . strictEqual ( test_string . TestLatin1Insufficient ( str5 ) , str5 . slice ( 0 , 3 ) )
100110 assert . strictEqual ( test_string . TestUtf8Insufficient ( str5 ) , str5 . slice ( 0 , 1 ) )
101111 assert . strictEqual ( test_string . TestUtf16Insufficient ( str5 ) , str5 . slice ( 0 , 3 ) )
112+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str5 ) , str5 )
113+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str5 ) , str5 )
102114 assert . strictEqual ( test_string . Utf16Length ( str5 ) , 63 )
103115 assert . strictEqual ( test_string . Utf8Length ( str5 ) , 126 )
104116
@@ -111,6 +123,8 @@ module.exports = function test (test_string) {
111123 assert . strictEqual ( test_string . TestUtf16ExternalAutoLength ( str6 ) , str6 )
112124 assert . strictEqual ( test_string . TestUtf8Insufficient ( str6 ) , str6 . slice ( 0 , 1 ) )
113125 assert . strictEqual ( test_string . TestUtf16Insufficient ( str6 ) , str6 . slice ( 0 , 3 ) )
126+ assert . strictEqual ( test_string . TestPropertyKeyUtf16 ( str6 ) , str6 )
127+ assert . strictEqual ( test_string . TestPropertyKeyUtf16AutoLength ( str6 ) , str6 )
114128 assert . strictEqual ( test_string . Utf16Length ( str6 ) , 5 )
115129 assert . strictEqual ( test_string . Utf8Length ( str6 ) , 14 )
116130
0 commit comments