Skip to content

Commit

Permalink
fix rtc-ice/url_test.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrtc committed Mar 9, 2024
1 parent 7362dff commit c91e5ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions rtc-ice/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ shared = { version = "0.1.1", path = "../rtc-shared", package = "rtc-shared", de
stun = { version = "0.1.1", path = "../rtc-stun", package = "rtc-stun" }

crc = "3.0"
log = "0.4.16"
log = "0.4.21"
rand = "0.8.5"
serde = { version = "1.0.102", features = ["derive"] }
url = "2.2"
serde = { version = "1.0.197", features = ["derive"] }
url = "2.5"

[dev-dependencies]
regex = "1"
Expand Down
4 changes: 2 additions & 2 deletions rtc-ice/src/url/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//TODO: #[cfg(test)]
//TODO: mod url_test;
#[cfg(test)]
mod url_test;

use std::borrow::Cow;
use std::convert::From;
Expand Down
4 changes: 2 additions & 2 deletions rtc-shared/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ pub enum Error {
ErrInvalidQuery,

/// Indicates malformed port is provided.
#[error("invalid port number")]
#[error("url parse: invalid port number")]
ErrPort,

/// Indicates local username fragment insufficient bits are provided.
Expand Down Expand Up @@ -707,7 +707,7 @@ pub enum Error {
ErrMismatchUsername,
#[error("the ICE conn can't write STUN messages")]
ErrIceWriteStunMessage,
#[error("relative URL without a base")]
#[error("url parse: relative URL without a base")]
ErrUrlParse,
#[error("Candidate IP could not be found")]
ErrCandidateIpNotFound,
Expand Down

0 comments on commit c91e5ad

Please sign in to comment.