Debian Codegraph @

tests/case.rs

raw symbols SCIP
1 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
2 fn camel_caserust-analyzer cargo reword 7.0.1 camel_case().() {
3 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("hello world"), "helloWorld");
4 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("this_is_a_test"), "thisIsATest");
5 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().(" leading_spaces "), "leadingSpaces");
6 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("trailing_spaces "), "trailingSpaces");
7 // assert_eq!(
8 // reword::camel_case("iNpUt_wiTh_MiXeD_cAsE"),
9 // "inputWithMixedCase"
10 // );
11 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("this-is-an_example"), "thisIsAnExample");
12 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("camel+case*input"), "camelCaseInput");
13 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
14 rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("string_with_123_numbers"),
15 "stringWith123Numbers"
16 );
17 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
18 rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("string___with_multiple__underscores"),
19 "stringWithMultipleUnderscores"
20 );
21 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
22 rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("multiple spaces here"),
23 "multipleSpacesHere"
24 );
25 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().(""), "");
26 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("a"), "a");
27 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("HTML_parser"), "htmlParser");
28 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("JSON_API_response"), "jsonApiResponse");
29 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::camel_caserust-analyzer cargo reword 7.0.1 case/camel_case().("!@#$%^&*()"), "");
30 }
31
32 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
33 fn pascal_caserust-analyzer cargo reword 7.0.1 pascal_case().() {
34 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("hello world"), "HelloWorld");
35 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("this_is_a_test"), "ThisIsATest");
36 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().(" leading_spaces "), "LeadingSpaces");
37 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("trailing_spaces "), "TrailingSpaces");
38 // assert_eq!(
39 // reword::pascal_case("iNpUt_wiTh_MiXeD_cAsE"),
40 // "InputWithMixedCase"
41 // );
42 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("this-is-an_example"), "ThisIsAnExample");
43 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("pascal+case*input"), "PascalCaseInput");
44 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
45 rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("string_with_123_numbers"),
46 "StringWith123Numbers"
47 );
48 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
49 rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("string___with_multiple__underscores"),
50 "StringWithMultipleUnderscores"
51 );
52 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
53 rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("multiple spaces here"),
54 "MultipleSpacesHere"
55 );
56 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().(""), "");
57 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("a"), "A");
58 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("HTML_parser"), "HtmlParser");
59 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("JSON_API_response"), "JsonApiResponse");
60 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::pascal_caserust-analyzer cargo reword 7.0.1 case/pascal_case().("!@#$%^&*()"), "");
61 }
62
63 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
64 fn snake_caserust-analyzer cargo reword 7.0.1 snake_case().() {
65 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("hello world"), "hello_world");
66 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("this_is_a_test"), "this_is_a_test");
67 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().(" leading_spaces "), "leading_spaces");
68 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("trailing_spaces "), "trailing_spaces");
69 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
70 rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("iNpUt_wiTh_MiXeD_cAsE"),
71 "input_with_mixed_case"
72 );
73 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
74 rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("this-is-an_example"),
75 "this_is_an_example"
76 );
77 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("snake+case*input"), "snake_case_input");
78 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
79 rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("string_with_123_numbers"),
80 "string_with_123_numbers"
81 );
82 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
83 rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("string___with_multiple__underscores"),
84 "string_with_multiple_underscores"
85 );
86 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
87 rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("multiple spaces here"),
88 "multiple_spaces_here"
89 );
90 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().(""), "");
91 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("a"), "a");
92 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("HTML_parser"), "html_parser");
93 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("JSON_API_response"), "json_api_response");
94 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::snake_caserust-analyzer cargo reword 7.0.1 case/snake_case().("!@#$%^&*()"), "");
95 }
96
97 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
98 fn screaming_snake_caserust-analyzer cargo reword 7.0.1 screaming_snake_case().() {
99 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("hello world"), "HELLO_WORLD");
100 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
101 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("this_is_a_test"),
102 "THIS_IS_A_TEST"
103 );
104 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
105 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().(" leading_spaces "),
106 "LEADING_SPACES"
107 );
108 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
109 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("trailing_spaces "),
110 "TRAILING_SPACES"
111 );
112 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
113 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("iNpUt_wiTh_MiXeD_cAsE"),
114 "INPUT_WITH_MIXED_CASE"
115 );
116 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
117 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("this-is-an_example"),
118 "THIS_IS_AN_EXAMPLE"
119 );
120 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
121 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("snake+case*input"),
122 "SNAKE_CASE_INPUT"
123 );
124 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
125 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("string_with_123_numbers"),
126 "STRING_WITH_123_NUMBERS"
127 );
128 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
129 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("string___with_multiple__underscores"),
130 "STRING_WITH_MULTIPLE_UNDERSCORES"
131 );
132 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
133 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("multiple spaces here"),
134 "MULTIPLE_SPACES_HERE"
135 );
136 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().(""), "");
137 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("a"), "A");
138 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("HTML_parser"), "HTML_PARSER");
139 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
140 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("JSON_API_response"),
141 "JSON_API_RESPONSE"
142 );
143 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_snake_caserust-analyzer cargo reword 7.0.1 case/screaming_snake_case().("!@#$%^&*()"), "");
144 }
145
146 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
147 fn kebab_caserust-analyzer cargo reword 7.0.1 kebab_case().() {
148 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("hello world"), "hello-world");
149 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("this_is_a_test"), "this-is-a-test");
150 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().(" leading_spaces "), "leading-spaces");
151 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("trailing_spaces "), "trailing-spaces");
152 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
153 rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("iNpUt_wiTh_MiXeD_cAsE"),
154 "input-with-mixed-case"
155 );
156 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
157 rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("this-is-an_example"),
158 "this-is-an-example"
159 );
160 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("kebab+case*input"), "kebab-case-input");
161 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
162 rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("string_with_123_numbers"),
163 "string-with-123-numbers"
164 );
165 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
166 rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("string___with_multiple__underscores"),
167 "string-with-multiple-underscores"
168 );
169 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
170 rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("multiple spaces here"),
171 "multiple-spaces-here"
172 );
173 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().(""), "");
174 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("a"), "a");
175 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("HTML_parser"), "html-parser");
176 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("JSON_API_response"), "json-api-response");
177 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::kebab_caserust-analyzer cargo reword 7.0.1 case/kebab_case().("!@#$%^&*()"), "");
178 }
179
180 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
181 fn screaming_kebab_caserust-analyzer cargo reword 7.0.1 screaming_kebab_case().() {
182 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("hello world"), "HELLO-WORLD");
183 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
184 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("this_is_a_test"),
185 "THIS-IS-A-TEST"
186 );
187 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
188 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().(" leading_spaces "),
189 "LEADING-SPACES"
190 );
191 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
192 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("trailing_spaces "),
193 "TRAILING-SPACES"
194 );
195 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
196 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("iNpUt_wiTh_MiXeD_cAsE"),
197 "INPUT-WITH-MIXED-CASE"
198 );
199 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
200 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("this-is-an_example"),
201 "THIS-IS-AN-EXAMPLE"
202 );
203 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
204 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("kebab+case*input"),
205 "KEBAB-CASE-INPUT"
206 );
207 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
208 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("string_with_123_numbers"),
209 "STRING-WITH-123-NUMBERS"
210 );
211 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
212 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("string___with_multiple__underscores"),
213 "STRING-WITH-MULTIPLE-UNDERSCORES"
214 );
215 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
216 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("multiple spaces here"),
217 "MULTIPLE-SPACES-HERE"
218 );
219 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().(""), "");
220 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("a"), "A");
221 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("HTML_parser"), "HTML-PARSER");
222 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(
223 rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("JSON_API_response"),
224 "JSON-API-RESPONSE"
225 );
226 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(rewordrust-analyzer cargo reword 7.0.1 crate/::screaming_kebab_caserust-analyzer cargo reword 7.0.1 case/screaming_kebab_case().("!@#$%^&*()"), "");
227 }