File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ ada_string ada_get_hostname(ada_url result);
6868ada_string ada_get_pathname (ada_url result );
6969ada_string ada_get_search (ada_url result );
7070ada_string ada_get_protocol (ada_url result );
71- uint8_t ada_get_url_host_type (ada_url result );
71+ uint8_t ada_get_host_type (ada_url result );
7272
7373// url_aggregator setters
7474// if ada_is_valid(result)) is false, the setters have no effect
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ ada_string ada_get_protocol(ada_url result) noexcept {
210210 return ada_string_create (out.data (), out.length ());
211211}
212212
213- uint8_t ada_get_url_host_type (ada_url result) noexcept {
213+ uint8_t ada_get_host_type (ada_url result) noexcept {
214214 ada::result<ada::url_aggregator>& r = get_instance (result);
215215 if (!r) {
216216 return 0 ;
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ TEST(ada_c, setters) {
115115 ada_set_protocol (url, " wss" , 3 );
116116 ASSERT_EQ (convert_string (ada_get_protocol (url)), " wss:" );
117117
118- ASSERT_EQ (ada_get_url_host_type (url), 0 );
118+ ASSERT_EQ (ada_get_host_type (url), 0 );
119119
120120 ada_free (url);
121121
You can’t perform that action at this time.
0 commit comments