| 1 | use strictscip-perl cpan MARC-Schema 0.16 strict/; |
| 2 | use warningsscip-perl cpan MARC-Schema 0.16 warnings/; |
| 3 | |
| 4 | use Test2::V0scip-perl cpan MARC-Schema 0.16 Test2/V0/; |
| 5 | use Test::Scriptscip-perl cpan MARC-Schema 0.16 Test/Script/; |
| 6 | |
| 7 | script_compilesscip-perl cpan MARC-Schema 0.16 main/script_compiles().('script/marcvalidate'); |
| 8 | script_runsscip-perl cpan MARC-Schema 0.16 main/script_runs().( |
| 9 | ['script/marcvalidate', '--type', 'RAW', '--file', 't/camel.mrc']); |
| 10 | |
| 11 | script_runsscip-perl cpan MARC-Schema 0.16 main/script_runs().(['script/marcvalidate', '--type', 'RAW', 't/camel.mrc']); |
| 12 | |
| 13 | script_runsscip-perl cpan MARC-Schema 0.16 main/script_runs().( |
| 14 | [ |
| 15 | 'script/marcvalidate', '--type', |
| 16 | 'RAW', '--schema', |
| 17 | 'share/marc-schema.json', 't/camel.mrc' |
| 18 | ] |
| 19 | ); |
| 20 | |
| 21 | done_testing; |