Fixing bug in ret function
This commit is contained in:
parent
9502f7a8a2
commit
6b07f1d8f8
2 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,7 @@ try() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ret() {
|
ret() {
|
||||||
echo $1
|
echo $@
|
||||||
}
|
}
|
||||||
|
|
||||||
filter() {
|
filter() {
|
||||||
|
|
|
@ -57,6 +57,7 @@ testTupl() {
|
||||||
assertEquals '4' "$(tup 4 5 | tupl)"
|
assertEquals '4' "$(tup 4 5 | tupl)"
|
||||||
assertEquals '4' "$(tup 4 5 6 | tupl)"
|
assertEquals '4' "$(tup 4 5 6 | tupl)"
|
||||||
assertEquals '6' "$(tup 6 | tupl)"
|
assertEquals '6' "$(tup 6 | tupl)"
|
||||||
|
assertEquals 'foo bar' "$(tup 'foo bar' 1 'one' 2 | tupl)"
|
||||||
}
|
}
|
||||||
|
|
||||||
testTupr() {
|
testTupr() {
|
||||||
|
|
Loading…
Reference in a new issue