You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
165 B
Fish
11 lines
165 B
Fish
9 years ago
|
function assert.expand_operator -a operator
|
||
|
switch $operator
|
||
|
case =
|
||
|
echo equals
|
||
|
case \-z
|
||
|
echo empty
|
||
|
case \*
|
||
|
echo $operator
|
||
|
end
|
||
|
end
|