Files
Plastic-Raspi-5/node_modules/magicli/tests/test-modules/function-simple-concat/specs.js

30 lines
439 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';
const tests = [{
description: 'Version --version',
input: '--version',
output: `1.0.0`
}, {
description: 'Help --help',
input: '--help',
output: `
Description:
Test function-simple-concat
Usage:
$ function-simple-concat [options]
Options:
--p1
--p2
`
}, {
description: '--p1=P1 --p2=P2',
input: '--p1=P1 --p2=2',
output: 'P1 2'
}];
module.exports = tests;