Permalink
Browse files

Use the most recent jar in the test script. Update the charset test t…

…o remove the added semicolons.
  • Loading branch information...
1 parent d45df6c commit eefafc3be22a4eca7456fca30d8694505ab8af3e isaacs committed Sep 27, 2009
Showing with 4 additions and 2 deletions.
  1. +1 −1 tests/concat-charset.css.min
  2. +3 −1 tests/suite.sh
View
2 tests/concat-charset.css.min
@@ -1 +1 @@
-@charset "utf-8";#foo{border-width:1px;}#bar{border-width:10px;}
+@charset "utf-8";#foo{border-width:1px}#bar{border-width:10px}
View
4 tests/suite.sh
@@ -3,12 +3,14 @@
cd $(dirname $0)
ls *.{css,js} | egrep -v '\.min$' | while read testfile; do
+ # Get the jar to use.
+ jar="$(ls ../build/*.jar | sort | tail -n1)"
expected="$(
cat $( ls $testfile* | egrep '\.min$' )
)"
actual="$(
- java -jar ../build/yuicompressor*.jar $testfile
+ java -jar $jar $testfile
)"
if [ "$expected" == "$actual" ]; then

0 comments on commit eefafc3

Please sign in to comment.