diff --git a/spec/api/modern/1.0.js b/spec/api/modern/1.0.js index 420a319..d05e39a 100644 --- a/spec/api/modern/1.0.js +++ b/spec/api/modern/1.0.js @@ -19,10 +19,15 @@ module.exports = (server, version=defVersion) => { ]; // Include NO nat for versions 1.2+ - if (version !== "1.0" && version !== "1.1") { + if (parseFloat(version) >= 1.2) { nats.push('NO'); } + // Include IN, MX, RS, UA for versions 1.4+ + if (parseFloat(version) >= 1.4) { + nats.push('IN', 'MX', 'RS', 'UA') + } + // Include fields describe(`Include fields`, () => { for (let i = 0; i < 5; i++) {