mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 07:21:08 +00:00
Change test macro error message
This commit is contained in:
parent
ef039c5d67
commit
e62bbd7ee9
@ -257,7 +257,7 @@ fn parse_args(attr_args: AttributeArgs) -> syn::Result<Args> {
|
||||
}
|
||||
|
||||
let Some(lit) = recurse_lit_lookup(value.value) else {
|
||||
return Err(syn::Error::new_spanned(path, "expected string for `false`"));
|
||||
return Err(syn::Error::new_spanned(path, "expected string or `false`"));
|
||||
};
|
||||
|
||||
migrations = match lit {
|
||||
|
Loading…
x
Reference in New Issue
Block a user