Skip to content

Commit ab879c1

Browse files
authored
misleading test names fixed (#2)
1 parent be71c4e commit ab879c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

questdb-confstr/tests/tests.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ fn key_cannot_be_empty() {
127127
}
128128

129129
#[test]
130-
fn no_params_with_semicolons() -> Result<(), ParsingError> {
130+
fn no_params_with_colons() -> Result<(), ParsingError> {
131131
let input = "https::";
132132
let config = parse_conf_str(input)?;
133133
assert_eq!(config.service(), "https");
@@ -136,7 +136,7 @@ fn no_params_with_semicolons() -> Result<(), ParsingError> {
136136
}
137137

138138
#[test]
139-
fn no_params_no_semicolons() -> Result<(), ParsingError> {
139+
fn no_params_no_colons() -> Result<(), ParsingError> {
140140
let input = "https";
141141
let config = parse_conf_str(input)?;
142142
assert_eq!(config.service(), "https");
@@ -187,7 +187,7 @@ fn url_as_service_separator() {
187187
}
188188

189189
#[test]
190-
fn no_service_name_with_semicolons() {
190+
fn no_service_name_with_colons() {
191191
let input = "::host=localhost;";
192192
let config = parse_conf_str(input);
193193
assert!(config.is_err());
@@ -201,7 +201,7 @@ fn no_service_name_with_semicolons() {
201201
}
202202

203203
#[test]
204-
fn no_service_name_no_semicolons() {
204+
fn no_service_name_no_colons() {
205205
let input = "host=localhost;";
206206
let config = parse_conf_str(input);
207207
assert!(config.is_err());

0 commit comments

Comments
 (0)