Skip to content

Commit 3302df0

Browse files
committed
Also test async Unicode
1 parent ed29716 commit 3302df0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/lite_app.t

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ subtest 'MCP endpoint' => sub {
6868
is $result->{content}[0]{text}, 'Echo: i ♥ mcp', 'tool call result';
6969
};
7070

71+
subtest 'Tool call (Unicode and async)' => sub {
72+
my $result = $client->call_tool('echo_async', {msg => 'i ♥ mcp'});
73+
is $result->{content}[0]{text}, 'Echo (async): i ♥ mcp', 'tool call result';
74+
};
75+
7176
subtest 'Tool call (with HTTP header)' => sub {
7277
$client->ua->once(
7378
start => sub ($ua, $tx) {

0 commit comments

Comments
 (0)