mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
c95b9f06e1
This change allows you to type `math x + 3` rather than `math $x + 3`. Another step to resolving issue #3157.
24 lines
188 B
Text
24 lines
188 B
Text
|
|
####################
|
|
# Validate basic expressions
|
|
1
|
|
1
|
|
1
|
|
1.667
|
|
4
|
|
4
|
|
2
|
|
0.500000
|
|
49
|
|
0
|
|
4
|
|
-10
|
|
-2
|
|
-8
|
|
|
|
####################
|
|
# Validate how bare variables in an epxression are handled
|
|
1
|
|
2
|
|
-4
|
|
-4.5
|