[roads] QA F-09: a present but empty until: or ports: is key.empty, never absent
Clearing a narrowing field (until:, until: # comment, ports:) used to read as absent, which is the widest value: a permanent grant or all traffic. It is now an error, so the road grants nothing. Three fixtures, FORMATS.md updated, and the F-09 test is no longer ignored.
This commit is contained in:
@@ -15,6 +15,7 @@ pub const KEY_DUPLICATE: &str = "key.duplicate";
|
||||
pub const KEY_MISSING: &str = "key.missing";
|
||||
pub const KEY_FORBIDDEN: &str = "key.forbidden";
|
||||
pub const KEY_TYPE: &str = "key.type";
|
||||
pub const KEY_EMPTY: &str = "key.empty";
|
||||
pub const ID_FORMAT: &str = "id.format";
|
||||
pub const ID_FILE_NAME: &str = "id.file-name";
|
||||
pub const ID_DUPLICATE: &str = "id.duplicate";
|
||||
@@ -78,6 +79,7 @@ pub const ALL: &[&str] = &[
|
||||
KEY_MISSING,
|
||||
KEY_FORBIDDEN,
|
||||
KEY_TYPE,
|
||||
KEY_EMPTY,
|
||||
ID_FORMAT,
|
||||
ID_FILE_NAME,
|
||||
ID_DUPLICATE,
|
||||
|
||||
Reference in New Issue
Block a user