Skip to content

Commit e62bbd7

Browse files
joeydewaalabonander
authored andcommitted
Change test macro error message
1 parent ef039c5 commit e62bbd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-macros-core/src/test_attr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ fn parse_args(attr_args: AttributeArgs) -> syn::Result<Args> {
257257
}
258258

259259
let Some(lit) = recurse_lit_lookup(value.value) else {
260-
return Err(syn::Error::new_spanned(path, "expected string for `false`"));
260+
return Err(syn::Error::new_spanned(path, "expected string or `false`"));
261261
};
262262

263263
migrations = match lit {

0 commit comments

Comments
 (0)