uglify-js/tests/tests.yml
Troy Dawson e049d863f4 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/uglify-js#62038941c7654d4ad1c9420b5c33e53ba552d9de
2020-10-15 13:10:39 -07:00

17 lines
420 B
YAML

---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- uglify-js
tests:
# Check that the main binary can be run at all
- usable:
run: uglifyjs --version
# Check that a basic expression is correctly minified
- expression:
run: test "$(echo '1 + 1'|uglifyjs --expression)" = '1+1;'
...