Skip to content

Commit

Permalink
misleading test names fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrinot committed Feb 2, 2024
1 parent be71c4e commit 2a73b87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions questdb-confstr/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fn key_cannot_be_empty() {
}

#[test]
fn no_params_with_semicolons() -> Result<(), ParsingError> {
fn no_params_with_colons() -> Result<(), ParsingError> {
let input = "https::";
let config = parse_conf_str(input)?;
assert_eq!(config.service(), "https");
Expand All @@ -136,7 +136,7 @@ fn no_params_with_semicolons() -> Result<(), ParsingError> {
}

#[test]
fn no_params_no_semicolons() -> Result<(), ParsingError> {
fn no_params_no_colons() -> Result<(), ParsingError> {
let input = "https";
let config = parse_conf_str(input)?;
assert_eq!(config.service(), "https");
Expand Down Expand Up @@ -187,7 +187,7 @@ fn url_as_service_separator() {
}

#[test]
fn no_service_name_with_semicolons() {
fn no_service_name_with_colons() {
let input = "::host=localhost;";
let config = parse_conf_str(input);
assert!(config.is_err());
Expand All @@ -201,7 +201,7 @@ fn no_service_name_with_semicolons() {
}

#[test]
fn no_service_name_no_semicolons() {
fn no_service_name_no_colons() {
let input = "host=localhost;";
let config = parse_conf_str(input);
assert!(config.is_err());
Expand Down

0 comments on commit 2a73b87

Please sign in to comment.