mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 01:48:08 +08:00

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
|