You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "A list of all links in the schema.",
@@ -15,7 +12,6 @@
15
12
},
16
13
"server": {
17
14
"description": "Dictates how the server behaves and helps tune tailcall for all ingress requests. Features such as request batching, SSL, HTTP2 etc. can be configured here.",
18
-
"default": {},
19
15
"allOf": [
20
16
{
21
17
"$ref": "#/definitions/Server"
@@ -32,7 +28,6 @@
32
28
},
33
29
"upstream": {
34
30
"description": "Dictates how tailcall should handle upstream requests/responses. Tuning upstream can improve performance and reliability for connections.",
"This is a test string for get_formatted_docs function. You are typing a long sentence for testing. What a nice, long sentence!",
485
+
));
486
+
let indent = 4;
487
+
488
+
let result = get_formatted_docs(input, indent);
489
+
let expected = String::from(
490
+
" \"\"\"\n This is a test string for get_formatted_docs function. You are typing a long sentence \n for testing. What a nice, long sentence!\n\"\"\"\n",
491
+
);
492
+
493
+
assert_eq!(result, expected)
494
+
}
495
+
496
+
#[test]
497
+
fntest_get_formatted_docs_utf8(){
498
+
let input = Some(String::from(
499
+
"get_formatted_docs 함수 테스트를 위한 문장입니다. 테스트를 위해 긴 문장을 입력하는 중 입니다. テストのために長い文章を入力しているところです。なんて素敵な長文です!",
500
+
));
501
+
let indent = 4;
502
+
503
+
let result = get_formatted_docs(input, indent);
504
+
let expected = String::from(
505
+
" \"\"\"\n get_formatted_docs 함수 테스트를 위한 문장입니다. 테스트를 위해 \n 긴 문장을 입력하는 중 입니다. テストのために長い文章を入力しているところです。なんて素敵な長文です!\n\"\"\"\n",
0 commit comments