File tree 1 file changed +8
-4
lines changed 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,19 @@ if (Base.JLOptions()).depwarn > 1
5
5
@test_throws ErrorException Base. utf16_is_lead (0xd800 )
6
6
@test_throws ErrorException Base. utf16_is_trail (0xdc00 )
7
7
@test_throws ErrorException Base. utf16_get_supplementary (0xd800 , 0xdc00 )
8
+ @test_throws ErrorException Base. is_utf8_start (0x40 )
9
+ @test_throws ErrorException Base. is_utf8_continuation (0x90 )
8
10
else
9
11
olderr = STDERR
10
12
try
11
13
rd, wr = redirect_stderr ()
12
- @test Base. utf16_is_surrogate (0xdc00 ) == true
13
- @test Base. utf16_is_lead (0xd800 ) == true
14
- @test Base. utf16_is_trail (0xdc00 ) == true
14
+ @test Base. utf16_is_surrogate (0xdc00 )
15
+ @test Base. utf16_is_lead (0xd800 )
16
+ @test Base. utf16_is_trail (0xdc00 )
15
17
@test Base. utf16_get_supplementary (0xd800 , 0xdc00 ) == 0x10000
18
+ @test Base. is_utf8_start (0x40 )
19
+ @test Base. is_utf8_continuation (0x90 )
16
20
finally
17
21
redirect_stderr (olderr)
18
22
end
19
- end
23
+ end
You can’t perform that action at this time.
0 commit comments