Make $nothing | into string == "" (#5490)

* Make $nothing | into string == ""

* Fix up existing into string tests

* Add $nothing | into string test

* Formatting

* Windows line endings test fix
This commit is contained in:
Peter Tolsma
2022-05-11 04:26:43 -05:00
committed by GitHub
parent 94a9380e8b
commit 5f39267a80
3 changed files with 25 additions and 9 deletions

View File

@ -248,7 +248,7 @@ pub fn action(
span,
},
Value::Nothing { .. } => Value::String {
val: "nothing".to_string(),
val: "".to_string(),
span,
},
Value::Record {