mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 04:03:39 +08:00
c95b9f06e1
This change allows you to type `math x + 3` rather than `math $x + 3`. Another step to resolving issue #3157.
25 lines
188 B
Plaintext
25 lines
188 B
Plaintext
|
|
####################
|
|
# 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
|