nushell/tests
Stefan Holderbach bbf0b45c59
Update internal use of decimal to float (#10333)
# Description
We made the decision that our floating point type should be referred to
as `float` over `decimal`.
Commands were updated by #9979 and #10320

Now make the internal codebase consistent in referring to this data type
as `float`.

Work for #10332

# User-Facing Changes

`decimal` has been removed as a type name/symbol. 

Instead of 
```nushell
def foo [bar: decimal] decimal -> decimal {}
```
use 
```nushell
def foo [bar: float] float -> float {}
```

Potential effect of `SyntaxShape`'s `Display` implementation now also
referring to `float` instead of `decimal`

# Details
- Rename `SyntaxShape::Decimal` to `Float`
- Update `Display for SyntaxShape` to `float`
- Update error message + fn name in dataframe code
- Fix docs in command examples
- Rename tests that are float specific
- Update doccomment on `SyntaxShape`
- Update comment in script

# Tests + Formatting
Updates the names of some tests
2023-09-13 23:53:55 +02:00
..
assets/nu_json Preserve order when serializing/deserialize json by default. (#3126) 2021-03-04 01:35:13 -05:00
const_ Remove python-like string multiplication (#10293) 2023-09-13 19:52:04 +12:00
eval Exit early when encountering parsing errors (#10213) 2023-09-05 14:36:37 +02:00
fixtures use uutils/coreutils cp command in place of nushell's cp command (#10097) 2023-09-08 13:57:38 -05:00
hooks Auto-expand table based on terminal width (#9934) 2023-08-08 05:47:23 -05:00
modules Recursively export constants from modules (#10049) 2023-08-20 14:51:35 +02:00
overlays Remove unnecessary cwd, pipeline(), r# from various tests (#9645) 2023-07-12 19:07:20 +02:00
parsing Remove unnecessary cwd, pipeline(), r# from various tests (#9645) 2023-07-12 19:07:20 +02:00
path Deref &String arguments to &str where appropriate (#10321) 2023-09-12 14:06:56 +08:00
plugins Disallow empty record with empty key,value pairs on ini format (#9722) 2023-07-18 22:14:18 +02:00
scope Add a few more fields to scope commands (#10045) 2023-08-18 20:47:38 +03:00
shell Update internal use of decimal to float (#10333) 2023-09-13 23:53:55 +02:00
main.rs prevent redefining fields in a record (#8705) 2023-04-02 06:09:33 +12:00