diff options
author | John Estabrook <jestabro@vyos.io> | 2025-03-18 11:49:13 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2025-03-18 11:49:13 -0500 |
commit | 6dd7dbc2500d8f5c662389ababefaf0ab2669fe9 (patch) | |
tree | c3cbc1954dc3ce67ad06ca161559332eae56d280 /tests | |
parent | 78a3ba7039e8ad9be8ca1960ecc5dac9a985fb0e (diff) | |
download | vyos-1x-6dd7dbc2500d8f5c662389ababefaf0ab2669fe9.tar.gz vyos-1x-6dd7dbc2500d8f5c662389ababefaf0ab2669fe9.zip |
T7246: do not pass unneeded version string to parser
Previously the parser would ignore lines beginning with '//', however
this is unnecessarily restrictive. Pass only config information to
parser, as the version string is saved separately for reconstruction on
render.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/config.valid | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/config.valid b/tests/data/config.valid index 1fbdd1505..0836bf60b 100644 --- a/tests/data/config.valid +++ b/tests/data/config.valid @@ -35,5 +35,5 @@ empty-node { trailing-leaf-node-without-value -// Trailing comment -// Another trailing comment +// some version string info +// continued |