File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if [ $? != 0 ]; then
1919fi
2020
2121# Test that 500 interations with 3 groups produces 1500 simulation lines
22- result=$( head -n 10 ./samples.csv | (../simulate 500 0.25 0.25 0.5) | wc -l | diff - <( echo " 1500" ) 2>&1 )
22+ result=$( head -n 10 ./samples.csv | (../simulate 500 0.25 0.25 0.5) | wc -l | tr -d ' \t ' | diff - <( echo " 1500" ) 2>&1 )
2323if [ $? != 0 ]; then
2424 echo " ---------"
2525 echo " Expected '../simulate 500 0.25 0.25 0.5' to produce 1500 lines"
@@ -30,7 +30,7 @@ if [ $? != 0 ]; then
3030fi
3131
3232# Test that 1000 interations with 2 groups produces 2000 simulation lines
33- result=$( head -n 10 ./samples.csv | (../simulate 1000 0.25 0.25) | wc -l | diff - <( echo " 2000" ) 2>&1 )
33+ result=$( head -n 10 ./samples.csv | (../simulate 1000 0.25 0.25) | wc -l | tr -d ' \t ' | diff - <( echo " 2000" ) 2>&1 )
3434if [ $? != 0 ]; then
3535 echo " ---------"
3636 echo " Expected '../simulate 500 0.25 0.25' to produce 2000 lines"
You can’t perform that action at this time.
0 commit comments