File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,10 +199,8 @@ public async Task Think_WithPotentiallyHarmfulContent_ReturnsError()
199199 [ Fact ]
200200 public async Task Think_WithUnicodeAndEmoji_HandlesSpecialCharactersCorrectly ( )
201201 {
202- // Arrange - Use only emoji that work well with the MCP protocol
203- // Note: While Chinese characters may display as question marks in some contexts,
204- // common emoji are correctly preserved in the JSON responses
205- var unicodeThought = "Testing emoji: 🔍 🚀 👍" ;
202+ // Arrange
203+ var unicodeThought = "Testing emoji: 🔍 🚀 👍 上下文伺服器" ;
206204
207205 // Act
208206 var result = await _client . CallToolAsync ( "think" ,
@@ -224,7 +222,8 @@ public async Task Think_WithUnicodeAndEmoji_HandlesSpecialCharactersCorrectly()
224222 Assert . Contains ( "🔍" , response . Thought ) ;
225223 Assert . Contains ( "🚀" , response . Thought ) ;
226224 Assert . Contains ( "👍" , response . Thought ) ;
227-
225+ Assert . Contains ( "上下文伺服器" , response . Thought ) ;
226+
228227 Assert . NotEmpty ( response . Message ) ;
229228 Assert . Null ( response . Error ) ;
230229 }
You can’t perform that action at this time.
0 commit comments