Fixes spelling (#14)

- AdbTcpConnexion -> AdbTcpConnection
- occured -> ocurred
This commit is contained in:
cocool97
2023-08-16 21:01:12 +02:00
committed by GitHub
parent c7ffe0f40b
commit ec7c4b2732
18 changed files with 80 additions and 80 deletions

View File

@@ -3,11 +3,11 @@ mod tests {
use std::net::Ipv4Addr;
use std::str::FromStr;
use adb_client::AdbTcpConnexion;
use adb_client::AdbTcpConnection;
fn new_client() -> AdbTcpConnexion {
fn new_client() -> AdbTcpConnection {
let address = Ipv4Addr::from_str("127.0.0.1").unwrap();
AdbTcpConnexion::new(address, 5037).expect("Could not build ADB client...")
AdbTcpConnection::new(address, 5037).expect("Could not build ADB client...")
}
#[test]
@@ -32,6 +32,6 @@ mod tests {
#[should_panic]
fn test_wrong_addr() {
let address = Ipv4Addr::from_str("127.0.0.300").unwrap();
let _ = AdbTcpConnexion::new(address, 5037).expect("Could not create ADB connexion...");
let _ = AdbTcpConnection::new(address, 5037).expect("Could not create ADB connection...");
}
}