diff --git a/projects/crates.io/semverator/package.yml b/projects/crates.io/semverator/package.yml index f6e472335b..d8330df6fe 100644 --- a/projects/crates.io/semverator/package.yml +++ b/projects/crates.io/semverator/package.yml @@ -17,23 +17,17 @@ build: cargo install --locked --path . --root {{prefix}} test: - qa-required: true - script: | + script: # Passes - semverator validate 1.2.3 - semverator eq 1.2.3 1.2.3 - semverator neq 1.2.3 1.2.4 - semverator gt 1.2.3 1.2.2 - semverator lt 1.2.3 1.2.4 + - semverator validate 1.2.3 + - semverator eq 1.2.3 1.2.3 + - semverator neq 1.2.3 1.2.4 + - semverator gt 1.2.3 1.2.2 + - semverator lt 1.2.3 1.2.4 # Fails - semverator validate 1.2.three || rv1=$? - test $rv1 -ne 0 - semverator eq 1.2.3 1.2.4 || rv2=$? - test $rv2 -ne 0 - semverator neq 1.2.3 1.2.3 || rv3=$? - test $rv3 -ne 0 - semverator gt 1.2.3 1.2.4 || rv4=$? - test $rv4 -ne 0 - semverator lt 1.2.3 1.2.2 || rv5=$? - test $rv5 -ne 0 + - test ! $(semverator validate 1.2.three) + - test ! $(semverator eq 1.2.3 1.2.4) + - test ! $(semverator neq 1.2.3 1.2.3) + - test ! $(semverator gt 1.2.3 1.2.4) + - test ! $(semverator lt 1.2.3 1.2.2)